blob: 34a279eb805a9617155092dce47dc927ef3e03e2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# 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 $
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"
S=${WORKDIR}/${P}
src_unpack() {
unpack ${A}
cd ${S}
}
src_compile() {
local antflags="build-jar"
use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
use doc && antflags="${antflags} javadoc"
ant ${antflags} || die "compilation failed"
}
src_install () {
mv build/${P}.jar build/${PN}.jar
java-pkg_dojar build/${PN}.jar || die "installation failed"
dodoc README.txt
use doc && java-pkg_dohtml -r doc/*
}
|