diff options
author | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-07-22 22:36:41 +0000 |
---|---|---|
committer | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-07-22 22:36:41 +0000 |
commit | e3402baad5d885131eda9960cfb58c106720c68a (patch) | |
tree | 7808b19cac0ba0634ab67f2f4e348369f24a1974 /dev-java/commons-dbcp | |
parent | stable on mips (diff) | |
download | gentoo-2-e3402baad5d885131eda9960cfb58c106720c68a.tar.gz gentoo-2-e3402baad5d885131eda9960cfb58c106720c68a.tar.bz2 gentoo-2-e3402baad5d885131eda9960cfb58c106720c68a.zip |
Migrated to Generation 2.
(Portage version: 2.1.1_pre3-r3)
Diffstat (limited to 'dev-java/commons-dbcp')
-rw-r--r-- | dev-java/commons-dbcp/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/commons-dbcp/commons-dbcp-1.2.1-r1.ebuild | 36 | ||||
-rw-r--r-- | dev-java/commons-dbcp/files/digest-commons-dbcp-1.2.1 | 2 | ||||
-rw-r--r-- | dev-java/commons-dbcp/files/digest-commons-dbcp-1.2.1-r1 | 3 |
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 |