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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sat May 14 16:10:36 2005 UTC (14 years, 9 months ago) by luckyduck
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
updated commons-beanutils dependency to reflect new slotting. see #71952
(Portage version: 2.0.51.21)

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

  ViewVC Help
Powered by ViewVC 1.1.20