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

Contents of /dev-java/commons-transaction/commons-transaction-1.0.1-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Wed Jun 18 18:18:33 2014 UTC (5 years, 9 months ago) by mrueg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
NM: Cleanup superseded ebuilds.

(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key )

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

  ViewVC Help
Powered by ViewVC 1.1.20