summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Trygve Kalleberg <karltk@gentoo.org>2002-11-01 18:12:07 +0000
committerKarl Trygve Kalleberg <karltk@gentoo.org>2002-11-01 18:12:07 +0000
commit1780cfd21ee1ba8a47130b383046ed217044eb5c (patch)
treed9c2c2c559ddce10a005bdd3c09a5a54a447640d /dev-java
parentMasked dev-java/commons-pool-1.0.1-r1 (diff)
downloadgentoo-2-1780cfd21ee1ba8a47130b383046ed217044eb5c.tar.gz
gentoo-2-1780cfd21ee1ba8a47130b383046ed217044eb5c.tar.bz2
gentoo-2-1780cfd21ee1ba8a47130b383046ed217044eb5c.zip
Fixes #8533.
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/commons-pool/ChangeLog8
-rw-r--r--dev-java/commons-pool/commons-pool-1.0.1-r1.ebuild44
-rw-r--r--dev-java/commons-pool/files/digest-commons-pool-1.0.1-r11
3 files changed, 52 insertions, 1 deletions
diff --git a/dev-java/commons-pool/ChangeLog b/dev-java/commons-pool/ChangeLog
index c0ec2175c224..f0ac2c86844b 100644
--- a/dev-java/commons-pool/ChangeLog
+++ b/dev-java/commons-pool/ChangeLog
@@ -1,6 +1,12 @@
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-pool/ChangeLog,v 1.2 2002/11/01 18:12:07 karltk Exp $
+
+*commons-pool-1.0.1-r1 (01 Nov 2002)
+
+ 31 Oct 2002; Karl Trygve Kalleberg <karltk@gentoo.org> commons-pool-1.0.1-r1.ebuild files/digest-commons-pool-1.0.1-r1 :
+ Fix to support junit. Ebuild submitted by Adrian Almenar
+ <aalmenar@conectium.com>. Masked until the 'junit' useflag is ratified.
*commons-pool-1.0.1 (31 Oct 2002)
diff --git a/dev-java/commons-pool/commons-pool-1.0.1-r1.ebuild b/dev-java/commons-pool/commons-pool-1.0.1-r1.ebuild
new file mode 100644
index 000000000000..131e49235e07
--- /dev/null
+++ b/dev-java/commons-pool/commons-pool-1.0.1-r1.ebuild
@@ -0,0 +1,44 @@
+# 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-r1.ebuild,v 1.1 2002/11/01 18:12:07 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
+ junit? ( >=junit-3.7 )"
+RDEPEND=">=virtual/jdk-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
+
+ if [ -n "`use junit`" ] ; then
+ echo "junit.jar=`java-config --classpath=junit`" >> build.properties
+ ant || die "Testing Classes Failed"
+ fi
+
+ 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
+ WEB: ${HOMEPAGE}\n
+ LOCAL: /usr/share/doc/commons-pool-${PV}\n
+ ***************************************************"
+}
diff --git a/dev-java/commons-pool/files/digest-commons-pool-1.0.1-r1 b/dev-java/commons-pool/files/digest-commons-pool-1.0.1-r1
new file mode 100644
index 000000000000..0532b13e26a7
--- /dev/null
+++ b/dev-java/commons-pool/files/digest-commons-pool-1.0.1-r1
@@ -0,0 +1 @@
+MD5 df9aaf5ee3e5d68abbee6eca0b8d037f commons-pool-1.0.1-src.tar.gz 62093