/[gentoo-x86]/dev-java/proxool/proxool-0.8.3-r1.ebuild
Gentoo

Contents of /dev-java/proxool/proxool-0.8.3-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Sun Nov 25 11:07:13 2007 UTC (6 years, 7 months ago) by drac
Branch: MAIN
Changes since 1.6: +2 -2 lines
amd64 stable wrt #189343
(Portage version: 2.1.4_rc3)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-java/proxool/proxool-0.8.3-r1.ebuild,v 1.6 2007/08/21 19:26:25 opfer Exp $
4
5 JAVA_PKG_IUSE="doc source"
6 WANT_ANT_TASKS="ant-nodeps"
7
8 inherit java-pkg-2 java-ant-2
9
10 DESCRIPTION="Proxool is a Java connection pool."
11 HOMEPAGE="http://proxool.sourceforge.net/"
12 SRC_URI="mirror://sourceforge/${PN}/${P}-source.tar.gz"
13
14 LICENSE="LGPL-2"
15 SLOT="0"
16 KEYWORDS="amd64 ~ppc x86"
17 IUSE=""
18
19 # Tests disabled because they would need hibernate
20 # and as such creating a circular dependency
21 RESTRICT="test"
22
23 # We could add java5 use flag but the sources use enum
24 # Making this ebuild quite complex. The mx4j-core dep
25 # can be obsoloted by the java virtuals any way.
26 COMMON_DEP="
27 dev-java/log4j
28 =dev-java/servletapi-2.4*
29 =dev-java/avalon-framework-4.2*
30 =dev-java/avalon-logkit-2*
31 =dev-java/mx4j-core-3*"
32
33 RDEPEND="
34 >=virtual/jre-1.4
35 ${COMMON_DEP}
36 "
37
38 DEPEND="
39 >=virtual/jdk-1.4
40 ${COMMON_DEP}
41 dev-util/checkstyle"
42
43 EANT_BUILD_TARGET="build-jar"
44
45 src_unpack() {
46 unpack "${A}"
47 cd "${S}"/lib
48 rm -v *.jar
49 java-pkg_jar-from log4j
50 java-pkg_jar-from servletapi-2.4
51 java-pkg_jar-from avalon-framework-4.2
52 java-pkg_jar-from avalon-logkit-2.0
53 java-pkg_jar-from mx4j-core-3.0
54 java-pkg_jar-from --build-only checkstyle
55 }
56
57 src_install() {
58 java-pkg_newjar build/${P}.jar ${PN}.jar
59
60 dodoc README.txt || die
61 # dohtml valid as there are other docs too
62 use doc && java-pkg_dohtml -r doc/*
63 use source && java-pkg_dosrc src/java/*
64 }

  ViewVC Help
Powered by ViewVC 1.1.20