/[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.3 - (hide annotations) (download)
Tue Jul 12 09:52:21 2005 UTC (14 years, 7 months ago) by axxo
Branch: MAIN
Changes since 1.2: +7 -6 lines
dep fix
(Portage version: 2.0.51.22-r1)

1 luckyduck 1.1 # Copyright 1999-2005 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 axxo 1.3 # $Header: /var/cvsroot/gentoo-x86/dev-java/commons-betwixt/commons-betwixt-0.6-r1.ebuild,v 1.2 2005/06/12 19:24:39 luckyduck Exp $
4 luckyduck 1.1
5     inherit java-pkg eutils
6    
7     DESCRIPTION="Introspective Bean to XML mapper"
8     HOMEPAGE="http://jakarta.apache.org/commons/betwixt/"
9 axxo 1.3 SRC_URI="mirror://apache/jakarta/commons/betwixt/source/${P}-src.tar.gz"
10 luckyduck 1.1
11     LICENSE="Apache-2.0"
12     SLOT="0"
13     KEYWORDS="amd64 x86 ~ppc"
14     IUSE="doc jikes source"
15    
16 axxo 1.3 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 luckyduck 1.2 DEPEND=">=virtual/jdk-1.3
21 axxo 1.3 ${RDEPEND}
22 luckyduck 1.2 dev-java/ant-core
23 luckyduck 1.1 jikes? ( >=dev-java/jikes-1.21 )
24     source? ( app-arch/zip )"
25    
26     S="${WORKDIR}/${P}-src/"
27    
28     src_unpack() {
29 luckyduck 1.2 unpack ${A}
30 luckyduck 1.1
31 luckyduck 1.2 cd ${S}
32 luckyduck 1.1 epatch ${FILESDIR}/${P}-noget.patch
33 luckyduck 1.2
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 luckyduck 1.1 }
39    
40     src_compile() {
41 luckyduck 1.2 local antflags="init jar"
42 luckyduck 1.1 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 luckyduck 1.2 java-pkg_newjar target/${PN}*.jar ${PN}.jar
49 luckyduck 1.1
50 luckyduck 1.2 dodoc RELEASE-NOTES.txt
51 luckyduck 1.1 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