summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Aniszczyk <zx@gentoo.org>2004-05-21 19:32:36 +0000
committerChris Aniszczyk <zx@gentoo.org>2004-05-21 19:32:36 +0000
commit6fc03d49d7c8b2f564ef0abe2f83f1b0fe1fa708 (patch)
tree872dfd97313858d1ddcfbbe2707e2f8a529b8886 /dev-java/jzlib/jzlib-1.0.5.ebuild
parentversion bump (diff)
downloadhistorical-6fc03d49d7c8b2f564ef0abe2f83f1b0fe1fa708.tar.gz
historical-6fc03d49d7c8b2f564ef0abe2f83f1b0fe1fa708.tar.bz2
historical-6fc03d49d7c8b2f564ef0abe2f83f1b0fe1fa708.zip
Version bump. Closes #51628
Diffstat (limited to 'dev-java/jzlib/jzlib-1.0.5.ebuild')
-rw-r--r--dev-java/jzlib/jzlib-1.0.5.ebuild42
1 files changed, 42 insertions, 0 deletions
diff --git a/dev-java/jzlib/jzlib-1.0.5.ebuild b/dev-java/jzlib/jzlib-1.0.5.ebuild
new file mode 100644
index 000000000000..be700693bd6d
--- /dev/null
+++ b/dev-java/jzlib/jzlib-1.0.5.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jzlib/jzlib-1.0.5.ebuild,v 1.1 2004/05/21 19:32:36 zx Exp $
+
+inherit java-pkg
+
+DESCRIPTION="JZlib is a re-implementation of zlib in pure Java."
+HOMEPAGE="http://www.jcraft.com/jzlib/"
+SRC_URI="http://www.jcraft.com/${PN}/${PN}-${PV}.tar.gz"
+
+LICENSE="jcraft"
+SLOT="0"
+KEYWORDS="~x86 ~sparc ~amd64 ~ppc"
+IUSE="doc jikes"
+RESTRICT="nomirror"
+
+DEPEND=">=virtual/jdk-1.4
+ >=dev-java/ant-1.4
+ jikes? ( >=dev-java/jikes-1.17 )"
+RDEPEND=">=virtual/jdk-1.4"
+
+
+src_unpack() {
+ unpack ${A}
+ cp ${FILESDIR}/jzlib_build.xml ${S}/build.xml
+ mkdir ${S}/src
+ mv ${S}/com/ ${S}/src/
+}
+
+src_compile() {
+ local antflags="dist"
+ use doc && antflags="${antflags} javadoc"
+ use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
+ ant ${antflags} || die "compilation failed"
+}
+
+src_install() {
+ mv dist/lib/jzlib{*,}.jar
+ java-pkg_dojar dist/lib/jzlib.jar || die "installation failed"
+ use doc && dohtml -r javadoc/*
+ dodoc LICENSE.txt README ChangeLog
+}