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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Sat Mar 20 10:53:03 2010 UTC (9 years, 10 months ago) by betelgeuse
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +1 -1 lines
FILE REMOVED
Remove old version.
(Portage version: 2.2_rc65/cvs/Linux i686)

1 # Copyright 1999-2009 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.7-r1.ebuild,v 1.8 2009/02/15 17:21:53 caster Exp $
4
5 EAPI=1
6 JAVA_PKG_IUSE="doc test source"
7
8 inherit java-pkg-2 eutils java-ant-2
9
10 DESCRIPTION="Introspective Bean to XML mapper"
11 HOMEPAGE="http://jakarta.apache.org/commons/betwixt/"
12 SRC_URI="mirror://apache/jakarta/commons/betwixt/source/${P}-src.tar.gz"
13
14 LICENSE="Apache-2.0"
15 SLOT="0.7"
16 KEYWORDS="amd64 ~ppc x86"
17 IUSE=""
18
19 COMMON_DEP="
20 >=dev-java/commons-logging-1.0.2:0
21 dev-java/commons-beanutils:1.7
22 >=dev-java/commons-digester-1.6:0"
23 RDEPEND=">=virtual/jre-1.4
24 ${COMMON_DEP}"
25 DEPEND=">=virtual/jdk-1.4
26 ${COMMON_DEP}
27 test? (
28 dev-java/ant-junit
29 >=dev-java/xerces-2.7:2
30 )"
31
32 S="${WORKDIR}/${P}-src/"
33
34 src_unpack() {
35 unpack ${A}
36
37 epatch ${FILESDIR}/${P}-notests.patch
38
39 cd "${S}"
40 java-ant_ignore-system-classes
41 mkdir -p ${S}/target/lib && cd ${S}/target/lib
42 java-pkg_jar-from commons-beanutils-1.7
43 java-pkg_jar-from commons-digester
44 java-pkg_jar-from commons-logging
45 }
46
47 EANT_BUILD_TARGET="init jar"
48
49 src_install() {
50 java-pkg_newjar target/${PN}*.jar ${PN}.jar
51
52 dodoc RELEASE-NOTES.txt README.txt
53 if use doc; then
54 java-pkg_dohtml PROPOSAL.html STATUS.html userguide.html
55 java-pkg_dohtml -r dist/docs/
56 fi
57 use source && java-pkg_dosrc src/java/*
58 }
59
60 src_test() {
61 java-pkg_jar-from --into target/lib xerces-2,junit
62 ANT_TASKS="ant-junit" eant test -DJunit.present=true
63 }

  ViewVC Help
Powered by ViewVC 1.1.20