diff options
author | Karl Trygve Kalleberg <karltk@gentoo.org> | 2002-11-02 21:42:25 +0000 |
---|---|---|
committer | Karl Trygve Kalleberg <karltk@gentoo.org> | 2002-11-02 21:42:25 +0000 |
commit | 28dee34865dd712266c828f43058256dd5e640c4 (patch) | |
tree | 36644b5bb23ba0b85654af40ff28a269fddd6423 /dev-java/commons-dbcp | |
parent | Tabified. (diff) | |
download | gentoo-2-28dee34865dd712266c828f43058256dd5e640c4.tar.gz gentoo-2-28dee34865dd712266c828f43058256dd5e640c4.tar.bz2 gentoo-2-28dee34865dd712266c828f43058256dd5e640c4.zip |
Fixes #10101.
Diffstat (limited to 'dev-java/commons-dbcp')
-rw-r--r-- | dev-java/commons-dbcp/ChangeLog | 8 | ||||
-rw-r--r-- | dev-java/commons-dbcp/commons-dbcp-1.0.ebuild | 46 | ||||
-rw-r--r-- | dev-java/commons-dbcp/files/digest-commons-dbcp-1.0 | 1 |
3 files changed, 55 insertions, 0 deletions
diff --git a/dev-java/commons-dbcp/ChangeLog b/dev-java/commons-dbcp/ChangeLog new file mode 100644 index 000000000000..b4f4e0a28d50 --- /dev/null +++ b/dev-java/commons-dbcp/ChangeLog @@ -0,0 +1,8 @@ +# 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.1 2002/11/02 21:42:25 karltk Exp $ + +*commons-dbcp-1.0 (02 Nov 2002) + + 02 Nov 2002; Karl Trygve Kalleberg <karltk@gentoo.org> commons-dbcp-1.0.ebuild files/digest-commons-dbcp-1.0 : + Initial import. Ebuild submitted by Adrian Almenar <aalmenar@conectium.com>. diff --git a/dev-java/commons-dbcp/commons-dbcp-1.0.ebuild b/dev-java/commons-dbcp/commons-dbcp-1.0.ebuild new file mode 100644 index 000000000000..bdbc46a017d8 --- /dev/null +++ b/dev-java/commons-dbcp/commons-dbcp-1.0.ebuild @@ -0,0 +1,46 @@ +# 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.ebuild,v 1.1 2002/11/02 21:42:25 karltk 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 ~ppc ~sparc ~sparc64 ~alpha" +IUSE="jikes" + +src_compile() { + local myc + + echo "commons-collections.jar=`java-config --classpath=commons-collections`" > build.properties + echo "commons-lang.jar=`java-config --classpath=commons-lang`" >> 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/* +} + +pkg_postinst() { + einfo "************ Documentation can be found at ***************\n + WEB: http://jakarta.apache.org/commons/dbcp.html\n + LOCAL: /usr/share/doc/${PF}\n + **********************************************************" +} diff --git a/dev-java/commons-dbcp/files/digest-commons-dbcp-1.0 b/dev-java/commons-dbcp/files/digest-commons-dbcp-1.0 new file mode 100644 index 000000000000..b276281aedfa --- /dev/null +++ b/dev-java/commons-dbcp/files/digest-commons-dbcp-1.0 @@ -0,0 +1 @@ +MD5 85305821547f060fb6090f022c33e5f9 commons-dbcp-1.0-src.tar.gz 88939 |