/[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.2 - (show annotations) (download)
Sat May 23 07:58:02 2009 UTC (5 years, 2 months ago) by betelgeuse
Branch: MAIN
Changes since 1.1: +2 -3 lines
Fix HOMEPAGE by using the logic in our eclasses.
(Portage version: 2.2_rc28/cvs/Linux i686)

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.0.1-r2.ebuild,v 1.1 2008/08/03 22:32:53 betelgeuse Exp $
4
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