/[gentoo-x86]/dev-java/commons-transaction/commons-transaction-1.2.ebuild
Gentoo

Contents of /dev-java/commons-transaction/commons-transaction-1.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (hide annotations) (download)
Sun Aug 10 20:12:00 2014 UTC (5 years, 7 months ago) by slyfox
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +3 -3 lines
QA: drop trailing '.' from DESCRIPTION

(Portage version: 2.2.11_p9/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA)

1 slyfox 1.4 # Copyright 1999-2014 Gentoo Foundation
2 betelgeuse 1.1 # Distributed under the terms of the GNU General Public License v2
3 slyfox 1.4 # $Header: /var/cvsroot/gentoo-x86/dev-java/commons-transaction/commons-transaction-1.2.ebuild,v 1.3 2009/06/29 21:15:16 maekke Exp $
4 betelgeuse 1.1
5     EAPI="2"
6     JAVA_PKG_IUSE="doc source"
7    
8     inherit java-pkg-2 java-ant-2
9    
10 slyfox 1.4 DESCRIPTION="A library of utility classes commonly used in transactional Java programming"
11 betelgeuse 1.1 SRC_URI="mirror://apache/commons/transaction/source/${P}-src.tar.gz"
12    
13     LICENSE="Apache-2.0"
14     SLOT="0"
15 maekke 1.3 KEYWORDS="amd64 x86"
16 betelgeuse 1.1 IUSE=""
17    
18     RDEPEND=">=virtual/jre-1.4
19     dev-java/commons-codec:0
20     java-virtuals/transaction-api
21     dev-java/log4j:0
22     dev-java/commons-logging:0
23     dev-java/glassfish-connector-api:0"
24     DEPEND=">=virtual/jdk-1.4
25     ${RDEPEND}"
26    
27     S="${WORKDIR}/${P}-src"
28    
29     java_prepare() {
30     rm -v *.jar lib/*.jar || die
31     }
32    
33     JAVA_ANT_REWRITE_CLASSPATH="true"
34     EANT_GENTOO_CLASSPATH="commons-codec,log4j,transaction-api,commons-logging,glassfish-connector-api"
35     EANT_DOC_TARGET="javadocs"
36     EANT_EXTRA_ARGS="-Djta.present=true -Djca.present=true -Dservlet.present=true"
37    
38     src_install() {
39     java-pkg_newjar dist/lib/${P}.jar ${PN}.jar
40    
41     dodoc NOTICE.txt README.txt RELEASE-NOTES.txt || die
42     dohtml -r xdocs/* || die
43     use doc && java-pkg_dojavadoc build/doc/apidocs
44     use source && java-pkg_dosrc src/java/*
45     }

  ViewVC Help
Powered by ViewVC 1.1.20