/[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.2 - (show annotations) (download)
Sun Jun 12 19:24:39 2005 UTC (14 years, 8 months ago) by luckyduck
Branch: MAIN
Changes since 1.1: +17 -16 lines
Restructured ebuild, fixes #95730.
(Portage version: 2.0.51.22-r1)

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

  ViewVC Help
Powered by ViewVC 1.1.20