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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sat Mar 20 10:53:03 2010 UTC (9 years, 11 months ago) by betelgeuse
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
Error occurred while calculating annotation data.
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-r2.ebuild,v 1.3 2009/02/15 17:21:53 caster Exp $
4
5 EAPI=1
6 JAVA_PKG_IUSE="doc test source"
7
8 inherit base java-pkg-2 eutils java-ant-2
9
10 DESCRIPTION="Introspective Bean to XML mapper"
11 HOMEPAGE="http://commons.apache.org/betwixt/"
12 SRC_URI="http://archive.apache.org/dist/${PN/-///}/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-collections:0
21 >=dev-java/commons-logging-1.0.2:0
22 dev-java/commons-beanutils:1.7
23 >=dev-java/commons-digester-1.6:0"
24 RDEPEND=">=virtual/jre-1.4
25 ${COMMON_DEP}"
26 DEPEND=">=virtual/jdk-1.4
27 ${COMMON_DEP}
28 test? (
29 dev-java/ant-junit
30 >=dev-java/xerces-2.7:2
31 )"
32
33 S="${WORKDIR}/${P}-src/"
34
35 PATCHES=( "${FILESDIR}/${P}-notests.patch" )
36
37 JAVA_ANT_REWRITE_CLASSPATH="true"
38 JAVA_ANT_IGNORE_SYSTEM_CLASSES="true"
39 EANT_GENTOO_CLASSPATH="commons-beanutils-1.7,commons-collections,commons-digester,commons-logging"
40 EANT_BUILD_TARGET="init jar"
41
42 src_test() {
43 java-pkg_jar-from --into target/lib xerces-2,junit
44 ANT_TASKS="ant-junit" eant test -DJunit.present=true
45 }
46
47 src_install() {
48 java-pkg_newjar target/${PN}*.jar ${PN}.jar
49
50 dodoc RELEASE-NOTES.txt README.txt || die
51 use doc && java-pkg_dojavadoc dist/docs/api
52 use source && java-pkg_dosrc src/java/*
53 }

  ViewVC Help
Powered by ViewVC 1.1.20