/[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 - (hide annotations) (download)
Sun Nov 25 11:07:13 2007 UTC (11 years ago) by drac
Branch: MAIN
Changes since 1.6: +2 -2 lines
amd64 stable wrt #189343
(Portage version: 2.1.4_rc3)

1 betelgeuse 1.1 # Copyright 1999-2007 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 drac 1.7 # $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 nelchael 1.4
5     JAVA_PKG_IUSE="doc source"
6     WANT_ANT_TASKS="ant-nodeps"
7 betelgeuse 1.1
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 drac 1.7 KEYWORDS="amd64 ~ppc x86"
17 nelchael 1.4 IUSE=""
18    
19     # Tests disabled because they would need hibernate
20     # and as such creating a circular dependency
21     RESTRICT="test"
22 betelgeuse 1.1
23 betelgeuse 1.2 # 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 betelgeuse 1.1 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 betelgeuse 1.2 =dev-java/mx4j-core-3*"
32 betelgeuse 1.1
33     RDEPEND="
34 betelgeuse 1.2 >=virtual/jre-1.4
35 betelgeuse 1.1 ${COMMON_DEP}
36     "
37    
38     DEPEND="
39 betelgeuse 1.2 >=virtual/jdk-1.4
40 betelgeuse 1.1 ${COMMON_DEP}
41 betelgeuse 1.5 dev-util/checkstyle"
42 betelgeuse 1.1
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 betelgeuse 1.2 java-pkg_jar-from mx4j-core-3.0
54 nelchael 1.4 java-pkg_jar-from --build-only checkstyle
55 betelgeuse 1.1 }
56    
57     src_install() {
58     java-pkg_newjar build/${P}.jar ${PN}.jar
59    
60 betelgeuse 1.5 dodoc README.txt || die
61 betelgeuse 1.1 # 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