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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Tue Jun 12 11:32:25 2012 UTC (2 years, 3 months ago) by johu
Branch: MAIN
Changes since 1.2: +2 -2 lines
Stable for x86, wrt bug #420661

(Portage version: 2.2.0_alpha110/cvs/Linux x86_64)

1 # Copyright 1999-2012 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-r2.ebuild,v 1.2 2012/06/11 12:44:27 ago Exp $
4
5 EAPI=4
6
7 JAVA_PKG_IUSE="doc source"
8 WANT_ANT_TASKS="ant-nodeps"
9
10 inherit java-pkg-2 java-ant-2
11
12 DESCRIPTION="Proxool is a Java connection pool."
13 HOMEPAGE="http://proxool.sourceforge.net/"
14 SRC_URI="mirror://sourceforge/${PN}/${P}-source.tar.gz"
15
16 LICENSE="LGPL-2"
17 SLOT="0"
18 KEYWORDS="amd64 ~ppc x86"
19 IUSE=""
20
21 # Tests disabled because they would need hibernate
22 # and as such creating a circular dependency
23 RESTRICT="test"
24
25 COMMON_DEP="
26 dev-java/avalon-framework:4.2
27 dev-java/avalon-logkit:2.0
28 dev-java/log4j:0
29 dev-java/mx4j-core:3.0
30 java-virtuals/servlet-api:3.0"
31 RDEPEND="${COMMON_DEP}
32 >=virtual/jre-1.4"
33 # Require jdk6 for building. #402487
34 DEPEND="${COMMON_DEP}
35 virtual/jdk:1.6
36 dev-util/checkstyle:0"
37
38 java_prepare() {
39 find -name '*.jar' -exec rm {} + || die
40
41 java-pkg_jar-from --into lib --build-only checkstyle
42 }
43
44 JAVA_ANT_REWRITE_CLASSPATH="yes"
45 EANT_BUILD_TARGET="build-jar"
46 EANT_GENTOO_CLASSPATH="log4j,servlet-api-3.0,avalon-framework-4.2,avalon-logkit-2.0,mx4j-core-3.0"
47
48 src_install() {
49 java-pkg_newjar build/${P}.jar ${PN}.jar
50
51 dodoc README.txt || die
52 # dohtml valid as there are other docs too
53 use doc && java-pkg_dohtml -r doc/*
54 use source && java-pkg_dosrc src/java/*
55 }

  ViewVC Help
Powered by ViewVC 1.1.20