diff options
author | Thomas Matthijs <axxo@gentoo.org> | 2005-06-29 17:18:21 +0000 |
---|---|---|
committer | Thomas Matthijs <axxo@gentoo.org> | 2005-06-29 17:18:21 +0000 |
commit | 5f3b85e3bec0c9fd5baab116402dbe3ca220a4be (patch) | |
tree | e5c5ab5c625aa61fde208a15188e5f5141a773d9 /dev-java/c3p0/c3p0-0.8.5_pre9-r1.ebuild | |
parent | adding lcars as maintainer of sudo support (diff) | |
download | historical-5f3b85e3bec0c9fd5baab116402dbe3ca220a4be.tar.gz historical-5f3b85e3bec0c9fd5baab116402dbe3ca220a4be.tar.bz2 historical-5f3b85e3bec0c9fd5baab116402dbe3ca220a4be.zip |
dont install versioned jar, thanks too Josh Nichols <nichoj@alum.rpi.edu> + version bump
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'dev-java/c3p0/c3p0-0.8.5_pre9-r1.ebuild')
-rw-r--r-- | dev-java/c3p0/c3p0-0.8.5_pre9-r1.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/dev-java/c3p0/c3p0-0.8.5_pre9-r1.ebuild b/dev-java/c3p0/c3p0-0.8.5_pre9-r1.ebuild new file mode 100644 index 000000000000..cb700c0c7e43 --- /dev/null +++ b/dev-java/c3p0/c3p0-0.8.5_pre9-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/c3p0/c3p0-0.8.5_pre9-r1.ebuild,v 1.1 2005/06/29 17:18:21 axxo Exp $ + +inherit java-pkg + +MY_PV=${PV/_pre/-pre} + +DESCRIPTION="c3p0 is a java component to provide an jdbc database pool" +HOMEPAGE="http://c3p0.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${PN}-${MY_PV}.src.tgz" +DEPEND=">=virtual/jdk-1.3 + >=dev-java/ant-1.4 + jikes? ( dev-java/jikes )" +RDEPEND=">=virtual/jre-1.3" +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="x86 ~ppc amd64" +IUSE="jikes doc" + +S=${WORKDIR}/${PN}-${MY_PV}.src + +src_unpack() { + unpack ${A} + cd ${S} + echo "j2ee.jar.base.dir=`java-config --jdk-home`" > build.properties +} + +src_compile() { + local antflags="jar" + use jikes && antflags="${antflags} -Dbuild.compiler=jikes" + use doc && antflags="${antflags} javadocs" + ant ${antflags} || die "compilation failed" +} + +src_install () { + java-pkg_newjar build/${PN}*.jar ${PN}.jar || die "installation failed" + dodoc README-SRC + use doc && java-pkg_dohtml -r build/apidocs/* +} |