summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/commons-dbcp')
-rw-r--r--dev-java/commons-dbcp/ChangeLog9
-rw-r--r--dev-java/commons-dbcp/commons-dbcp-1.0-r1.ebuild38
-rw-r--r--dev-java/commons-dbcp/files/digest-commons-dbcp-1.0-r11
3 files changed, 47 insertions, 1 deletions
diff --git a/dev-java/commons-dbcp/ChangeLog b/dev-java/commons-dbcp/ChangeLog
index 351ddd78a707..6aca4a983d6c 100644
--- a/dev-java/commons-dbcp/ChangeLog
+++ b/dev-java/commons-dbcp/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-java/commons-dbcp
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-dbcp/ChangeLog,v 1.2 2002/11/05 18:17:54 strider Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-dbcp/ChangeLog,v 1.3 2002/11/25 01:13:45 strider Exp $
+
+*commons-dbcp-1.0-r1 (24 Nov 2002)
+
+ 24 Nov 2002; Adrian Almenar <strider@gentoo.org> commons-dbcp-1.0-r1.ebuild files/digest-commons-dbcp-1.0-r1:
+ Just a minor fix, but needed to bump revision cause changed name of the jar
+ to avoid conflicts in future. Releasing it, since it has been tested a lot and
+ works very well.
*commons-dbcp-1.0 (02 Nov 2002)
diff --git a/dev-java/commons-dbcp/commons-dbcp-1.0-r1.ebuild b/dev-java/commons-dbcp/commons-dbcp-1.0-r1.ebuild
new file mode 100644
index 000000000000..4e19fc3f2e56
--- /dev/null
+++ b/dev-java/commons-dbcp/commons-dbcp-1.0-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-dbcp/commons-dbcp-1.0-r1.ebuild,v 1.1 2002/11/25 01:13:45 strider Exp $
+
+S=${WORKDIR}/${PN}-${PV}-src
+DESCRIPTION="Jakarta component providing database connection pooling API"
+HOMEPAGE="http://jakarta.apache.org/commons/dbcp.html"
+SRC_URI="http://jakarta.apache.org/builds/jakarta-commons/release/${PN}/v${PV}/${PN}-${PV}-src.tar.gz"
+DEPEND=">=virtual/jdk-1.3
+ >=dev-java/ant-1.4
+ >=dev-java/commons-collections-2.0
+ >=dev-java/commons-pool-1.0.1"
+RDEPEND=">=virtual/jre-1.3
+ >=dev-java/commons-pool-1.0.1"
+LICENSE="Apache-1.1"
+SLOT="0"
+KEYWORDS="x86"
+IUSE="jikes"
+
+src_compile() {
+ local myc
+
+ echo "commons-collections.jar=`java-config --classpath=commons-collections`" > build.properties
+ echo "commons-pool.jar=`java-config --classpath=commons-pool`" >> build.properties
+
+ if [ -n "`use jikes`" ] ; then
+ myc="${myc} -Dbuild.compiler=jikes"
+ fi
+
+ cp LICENSE.txt ../LICENSE
+ ANT_OPTS=${myc} ant dist || die "Compilation failed"
+}
+
+src_install () {
+ dojar dist/${PN}*.jar || die "Unable to install"
+ dohtml PROPOSAL.html STATUS.html
+ dohtml -r dist/docs/*
+}
diff --git a/dev-java/commons-dbcp/files/digest-commons-dbcp-1.0-r1 b/dev-java/commons-dbcp/files/digest-commons-dbcp-1.0-r1
new file mode 100644
index 000000000000..b276281aedfa
--- /dev/null
+++ b/dev-java/commons-dbcp/files/digest-commons-dbcp-1.0-r1
@@ -0,0 +1 @@
+MD5 85305821547f060fb6090f022c33e5f9 commons-dbcp-1.0-src.tar.gz 88939