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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sat May 23 07:56:38 2009 UTC (10 years, 8 months ago) by betelgeuse
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Remove old revision.
(Portage version: 2.2_rc28/cvs/Linux i686)

1 # Copyright 1999-2008 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-r1.ebuild,v 1.3 2008/01/05 17:57:50 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 HOMEPAGE="http://jakarta.apache.org/commons/transaction/"
11 SRC_URI="mirror://apache/jakarta/commons/transaction/source/${P}-src.tgz"
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
20 dev-java/jta
21 dev-java/log4j"
22 DEPEND=">=virtual/jdk-1.4
23 ${RDEPEND}"
24
25 S="${WORKDIR}"
26
27 src_unpack() {
28 unpack ${A}
29 rm -v *.jar || die
30 cd "${S}/lib"
31 rm -f *.jar || die
32 java-pkg_jar-from commons-codec
33 java-pkg_jar-from log4j
34 java-pkg_jar-from jta
35 }
36
37 EANT_DOC_TARGET="javadocs"
38
39 src_install() {
40 java-pkg_newjar dist/lib/${P}.jar ${PN}.jar
41
42 dodoc NOTICE.txt README.txt RELEASE-NOTES.txt || die
43 dohtml -r xdocs/* || die
44 use doc && java-pkg_dojavadoc build/doc/apidocs
45 use source && java-pkg_dosrc src/java/*
46 }

  ViewVC Help
Powered by ViewVC 1.1.20