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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sun Apr 6 16:06:27 2008 UTC (11 years, 9 months ago) by betelgeuse
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Remove unused slot.
(Portage version: 2.1.4.4)

1 # Copyright 1999-2007 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-r2.ebuild,v 1.4 2007/02/03 13:31:22 beandog Exp $
4
5 inherit java-pkg-2 eutils java-ant-2
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 ~ppc x86"
14 IUSE="doc source"
15
16 COMMON_DEP="
17 >=dev-java/commons-logging-1.0.2
18 =dev-java/commons-beanutils-1.7*
19 >=dev-java/commons-digester-1.6"
20 RDEPEND=">=virtual/jre-1.3
21 ${COMMON_DEP}"
22 DEPEND=">=virtual/jdk-1.3
23 ${COMMON_DEP}
24 dev-java/ant-core
25 source? ( app-arch/zip )"
26
27 S="${WORKDIR}/${P}-src/"
28
29 src_unpack() {
30 unpack ${A}
31
32 cd ${S}
33 epatch ${FILESDIR}/${P}-noget.patch
34
35 mkdir -p ${S}/target/lib && cd ${S}/target/lib
36 java-pkg_jar-from commons-beanutils-1.7
37 java-pkg_jar-from commons-digester
38 java-pkg_jar-from commons-logging
39 }
40
41 src_compile() {
42 eant init jar $(use_doc)
43 }
44
45 src_install() {
46 java-pkg_newjar target/${PN}*.jar ${PN}.jar
47
48 dodoc RELEASE-NOTES.txt
49 if use doc; then
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