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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sun May 27 00:39:18 2007 UTC (12 years, 8 months ago) by betelgeuse
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Tweak style.
(Portage version: 2.1.2.7)

1 # Copyright 1999-2005 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.ebuild,v 1.3 2005/07/12 13:29:02 axxo Exp $
4
5 inherit java-pkg
6
7 DESCRIPTION="Commons Transaction aims at providing lightweight, standardized, well tested and efficient implementations of utility classes commonly used in transactional Java programming."
8 HOMEPAGE="http://jakarta.apache.org/commons/transaction/"
9 SRC_URI="mirror://apache/jakarta/commons/transaction/source/${P}-src.tgz"
10
11 LICENSE="Apache-2.0"
12 SLOT="0"
13 KEYWORDS="~amd64 ~x86"
14 IUSE="doc jikes source"
15
16 RDEPEND=">=virtual/jre-1.4
17 dev-java/commons-codec
18 dev-java/jta
19 dev-java/log4j"
20 DEPEND=">=virtual/jdk-1.4
21 ${RDEPEND}
22 dev-java/ant-core
23 jikes? ( dev-java/jikes )
24 source? ( app-arch/zip )"
25
26 S="${WORKDIR}"
27
28 src_unpack() {
29 unpack ${A}
30
31 cd ${S}/lib
32 rm -f *.jar
33 java-pkg_jar-from commons-codec
34 java-pkg_jar-from log4j
35 java-pkg_jar-from jta
36 }
37
38 src_compile() {
39 local antflags="jar"
40 use doc && antflags="${antflags} javadocs"
41 use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
42 ant ${antflags} jar || die "Compilation failed"
43 }
44
45 src_install() {
46 java-pkg_newjar dist/lib/${P}.jar ${PN}.jar
47
48 dodoc NOTICE.txt REAME.txt RELEASE-NOTES.txt
49 java-pkg_dohtml -r build/doc/* xdocs
50 use source && java-pkg_dosrc src/java/*
51 }

  ViewVC Help
Powered by ViewVC 1.1.20