/[gentoo-x86]/dev-java/commons-betwixt/commons-betwixt-0.6-r1.ebuild
Gentoo

Contents of /dev-java/commons-betwixt/commons-betwixt-0.6-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sun Feb 4 00:22:51 2007 UTC (13 years ago) by caster
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Cleanup.
(Portage version: 2.1.2-r7)

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-betwixt/commons-betwixt-0.6-r1.ebuild,v 1.3 2005/07/12 09:52:21 axxo Exp $
4
5 inherit java-pkg eutils
6
7 DESCRIPTION="Introspective Bean to XML mapper"
8 HOMEPAGE="http://jakarta.apache.org/commons/betwixt/"
9 SRC_URI="mirror://apache/jakarta/commons/betwixt/source/${P}-src.tar.gz"
10
11 LICENSE="Apache-2.0"
12 SLOT="0"
13 KEYWORDS="amd64 x86 ~ppc"
14 IUSE="doc jikes source"
15
16 RDEPEND=">=virtual/jre-1.3
17 >=dev-java/commons-logging-1.0.2
18 =dev-java/commons-beanutils-1.7*
19 >=dev-java/commons-digester-1.6"
20 DEPEND=">=virtual/jdk-1.3
21 ${RDEPEND}
22 dev-java/ant-core
23 jikes? ( >=dev-java/jikes-1.21 )
24 source? ( app-arch/zip )"
25
26 S="${WORKDIR}/${P}-src/"
27
28 src_unpack() {
29 unpack ${A}
30
31 cd ${S}
32 epatch ${FILESDIR}/${P}-noget.patch
33
34 mkdir -p ${S}/target/lib && cd ${S}/target/lib
35 java-pkg_jar-from commons-beanutils-1.7
36 java-pkg_jar-from commons-digester
37 java-pkg_jar-from commons-logging
38 }
39
40 src_compile() {
41 local antflags="init jar"
42 use doc && antflags="${antflags} javadoc"
43 use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
44 ant ${antflags} || die "compile failed"
45 }
46
47 src_install() {
48 java-pkg_newjar target/${PN}*.jar ${PN}.jar
49
50 dodoc RELEASE-NOTES.txt
51 if use doc; then
52 java-pkg_dohtml PROPOSAL.html STATUS.html userguide.html
53 java-pkg_dohtml -r dist/docs/
54 fi
55 use source && java-pkg_dosrc src/java/*
56 }

  ViewVC Help
Powered by ViewVC 1.1.20