/[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.3 - (show annotations) (download)
Mon Jun 29 21:15:16 2009 UTC (5 years, 5 months ago) by maekke
Branch: MAIN
Changes since 1.2: +2 -2 lines
amd64/x86 stable, bug #275174
(Portage version: 2.1.6.13/cvs/Linux x86_64)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-java/commons-transaction/commons-transaction-1.2.ebuild,v 1.2 2009/05/23 08:59:07 caster Exp $
4
5 EAPI="2"
6 JAVA_PKG_IUSE="doc source"
7
8 inherit java-pkg-2 java-ant-2
9
10 DESCRIPTION="A library of utility classes commonly used in transactional Java programming."
11 SRC_URI="mirror://apache/commons/transaction/source/${P}-src.tar.gz"
12
13 LICENSE="Apache-2.0"
14 SLOT="0"
15 KEYWORDS="amd64 x86"
16 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