summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/proxool/proxool-0.8.3.ebuild')
-rw-r--r--dev-java/proxool/proxool-0.8.3.ebuild29
1 files changed, 13 insertions, 16 deletions
diff --git a/dev-java/proxool/proxool-0.8.3.ebuild b/dev-java/proxool/proxool-0.8.3.ebuild
index 34a279eb805a..df1294cce928 100644
--- a/dev-java/proxool/proxool-0.8.3.ebuild
+++ b/dev-java/proxool/proxool-0.8.3.ebuild
@@ -1,39 +1,36 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/proxool/proxool-0.8.3.ebuild,v 1.4 2005/04/22 09:00:34 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/proxool/proxool-0.8.3.ebuild,v 1.5 2005/06/05 15:51:31 luckyduck Exp $
inherit java-pkg
DESCRIPTION="Proxool is a Java connection pool."
HOMEPAGE="http://proxool.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}-source.tar.gz"
-DEPEND=">=virtual/jdk-1.3
- dev-java/cglib
- >=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"
+IUSE="doc jikes source"
-S=${WORKDIR}/${P}
-
-src_unpack() {
- unpack ${A}
- cd ${S}
-}
+DEPEND=">=virtual/jdk-1.3
+ dev-java/ant-core
+ jikes? ( dev-java/jikes )
+ source? ( app-arch/zip )"
+RDEPEND=">=virtual/jre-1.3
+ dev-java/cglib"
src_compile() {
local antflags="build-jar"
- use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
use doc && antflags="${antflags} javadoc"
+ use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
ant ${antflags} || die "compilation failed"
}
src_install () {
- mv build/${P}.jar build/${PN}.jar
- java-pkg_dojar build/${PN}.jar || die "installation failed"
+ java-pkg_newjar build/${P}.jar ${PN}.jar
+
dodoc README.txt
use doc && java-pkg_dohtml -r doc/*
+ use source && java-pkg_dosrc src/java/*
}