Fixes #8533.
authorKarl Trygve Kalleberg <karltk@gentoo.org>
Thu, 31 Oct 2002 20:46:09 +0000 (20:46 +0000)
committerKarl Trygve Kalleberg <karltk@gentoo.org>
Thu, 31 Oct 2002 20:46:09 +0000 (20:46 +0000)
dev-java/commons-pool/ChangeLog [new file with mode: 0644]
dev-java/commons-pool/commons-pool-1.0.1.ebuild [new file with mode: 0644]
dev-java/commons-pool/files/digest-commons-pool-1.0.1 [new file with mode: 0644]

diff --git a/dev-java/commons-pool/ChangeLog b/dev-java/commons-pool/ChangeLog
new file mode 100644 (file)
index 0000000..c0ec217
--- /dev/null
@@ -0,0 +1,10 @@
+# ChangeLog for dev-java/commons-pool
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-pool/ChangeLog,v 1.1 2002/10/31 20:46:09 karltk Exp $
+
+*commons-pool-1.0.1 (31 Oct 2002)
+
+  31 Oct 2002; Karl Trygve Kalleberg <karltk@gentoo.org> commons-pool-1.0.1.ebuild files/digest-commons-pool-1.0.1 :
+  Initial import.  Ebuild submitted by Adrian Almenar
+  <aalmenar@conectium.com>.
+
diff --git a/dev-java/commons-pool/commons-pool-1.0.1.ebuild b/dev-java/commons-pool/commons-pool-1.0.1.ebuild
new file mode 100644 (file)
index 0000000..74ee935
--- /dev/null
@@ -0,0 +1,36 @@
+# Copyright 2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-pool/commons-pool-1.0.1.ebuild,v 1.1 2002/10/31 20:46:09 karltk Exp $
+
+S=${WORKDIR}/commons-pool-${PV}-src
+DESCRIPTION="Jakarta component providing general purpose object pooling API "
+HOMEPAGE="http://jakarta.apache.org/commons/pool.html"
+SRC_URI="http://jakarta.apache.org/builds/jakarta-commons/release/commons-pool/v${PV}/commons-pool-${PV}-src.tar.gz"
+DEPEND=">=virtual/jdk-1.3
+               >=dev-java/ant-1.4
+               >=dev-java/commons-collections-2.0"
+RDEPEND=">=virtual/jre-1.3
+               >=dev-java/commons-collections-2.0"
+LICENSE="Apache-1.1"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~sparc64 ~alpha"
+IUSE=""
+
+src_compile() {
+       echo "commons-collections.jar=`java-config --classpath=commons-collections`" > build.properties
+       ant dist-jar || die "Compilation Failed"
+       ant doc || die "Unable to create documents"
+}
+
+src_install () {
+       dojar dist/commons-pool*.jar || die "Unable to install"
+       dodoc README.txt
+       dohtml *.html
+       dohtml -r dist/docs/*
+}
+
+pkg_postinst() {
+       einfo "******* Documentation can be found at *******\n
+    http://jakarta.apache.org/commons/pool.html\n
+   *********************************************"
+}
diff --git a/dev-java/commons-pool/files/digest-commons-pool-1.0.1 b/dev-java/commons-pool/files/digest-commons-pool-1.0.1
new file mode 100644 (file)
index 0000000..0532b13
--- /dev/null
@@ -0,0 +1 @@
+MD5 df9aaf5ee3e5d68abbee6eca0b8d037f commons-pool-1.0.1-src.tar.gz 62093