summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2006-07-22 23:10:19 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2006-07-22 23:10:19 +0000
commite8496d84bdb47dfe292ee9e099484914b917e830 (patch)
tree566e3dd9df2a9dd05ac340ebbcae19951092c1d0 /dev-java/commons-dbcp
parentReplace arch with uname -m for Gentoo/FreeBSD compatibility. See bug #141422. (diff)
downloadhistorical-e8496d84bdb47dfe292ee9e099484914b917e830.tar.gz
historical-e8496d84bdb47dfe292ee9e099484914b917e830.tar.bz2
historical-e8496d84bdb47dfe292ee9e099484914b917e830.zip
Migrated to Generation 2.
Package-Manager: portage-2.1.1_pre3-r3
Diffstat (limited to 'dev-java/commons-dbcp')
-rw-r--r--dev-java/commons-dbcp/ChangeLog10
-rw-r--r--dev-java/commons-dbcp/commons-dbcp-1.2.1-r1.ebuild36
-rw-r--r--dev-java/commons-dbcp/files/digest-commons-dbcp-1.2.12
-rw-r--r--dev-java/commons-dbcp/files/digest-commons-dbcp-1.2.1-r13
4 files changed, 49 insertions, 2 deletions
diff --git a/dev-java/commons-dbcp/ChangeLog b/dev-java/commons-dbcp/ChangeLog
index e21f69bd0a8c..cfe25e0f868b 100644
--- a/dev-java/commons-dbcp/ChangeLog
+++ b/dev-java/commons-dbcp/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/commons-dbcp
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-dbcp/ChangeLog,v 1.22 2005/12/08 14:02:41 nichoj Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-dbcp/ChangeLog,v 1.23 2006/07/22 22:36:41 nelchael Exp $
+
+*commons-dbcp-1.2.1-r1 (22 Jul 2006)
+
+ 22 Jul 2006; Krzysiek Pawlik <nelchael@gentoo.org>
+ +commons-dbcp-1.2.1-r1.ebuild:
+ Migrated to Generation 2.
08 Dec 2005; Joshua Nichols <nichoj@gentoo.org> commons-dbcp-1.2.1.ebuild:
Changed ant dependency to just ant-core.
diff --git a/dev-java/commons-dbcp/commons-dbcp-1.2.1-r1.ebuild b/dev-java/commons-dbcp/commons-dbcp-1.2.1-r1.ebuild
new file mode 100644
index 000000000000..5140ab4f05c5
--- /dev/null
+++ b/dev-java/commons-dbcp/commons-dbcp-1.2.1-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-dbcp/commons-dbcp-1.2.1-r1.ebuild,v 1.1 2006/07/22 22:36:41 nelchael Exp $
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Jakarta component providing database connection pooling API"
+HOMEPAGE="http://jakarta.apache.org/commons/dbcp/"
+SRC_URI="mirror://apache/jakarta/commons/dbcp/source/${P}-src.tar.gz"
+RDEPEND=">=virtual/jre-1.3
+ >=dev-java/commons-collections-2.0
+ >=dev-java/commons-pool-1.1"
+DEPEND=">=virtual/jdk-1.3
+ >=dev-java/ant-core-1.4
+ ${RDEPEND}
+ source? ( app-arch/zip )"
+LICENSE="Apache-1.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="doc source"
+
+src_compile() {
+ local antflags="build-jar"
+ echo "commons-collections.jar=$(java-pkg_getjars commons-collections)" > build.properties
+ echo "commons-pool.jar=$(java-pkg_getjars commons-pool)" >> build.properties
+ use doc && antflags="${antflags} javadoc"
+ eant ${antflags} || die "Compilation failed"
+}
+
+src_install() {
+ java-pkg_dojar dist/${PN}*.jar || die "Unable to install"
+ dodoc README.txt
+ dohtml PROPOSAL.html STATUS.html
+ use doc && java-pkg_dohtml -r dist/docs/*
+ use source && java-pkg_dosrc src/java/*
+}
diff --git a/dev-java/commons-dbcp/files/digest-commons-dbcp-1.2.1 b/dev-java/commons-dbcp/files/digest-commons-dbcp-1.2.1
index bd74543e91e7..8061cd957ff2 100644
--- a/dev-java/commons-dbcp/files/digest-commons-dbcp-1.2.1
+++ b/dev-java/commons-dbcp/files/digest-commons-dbcp-1.2.1
@@ -1 +1,3 @@
MD5 b7336a1d34ea0e8e9c39b67af510c46d commons-dbcp-1.2.1-src.tar.gz 578573
+RMD160 397b1da0c870b6dc460a652c1cd695708f648719 commons-dbcp-1.2.1-src.tar.gz 578573
+SHA256 31a2806955c667460222d2ebf3ec11f88181ccef7d4e10eb683cff55626a0061 commons-dbcp-1.2.1-src.tar.gz 578573
diff --git a/dev-java/commons-dbcp/files/digest-commons-dbcp-1.2.1-r1 b/dev-java/commons-dbcp/files/digest-commons-dbcp-1.2.1-r1
new file mode 100644
index 000000000000..8061cd957ff2
--- /dev/null
+++ b/dev-java/commons-dbcp/files/digest-commons-dbcp-1.2.1-r1
@@ -0,0 +1,3 @@
+MD5 b7336a1d34ea0e8e9c39b67af510c46d commons-dbcp-1.2.1-src.tar.gz 578573
+RMD160 397b1da0c870b6dc460a652c1cd695708f648719 commons-dbcp-1.2.1-src.tar.gz 578573
+SHA256 31a2806955c667460222d2ebf3ec11f88181ccef7d4e10eb683cff55626a0061 commons-dbcp-1.2.1-src.tar.gz 578573