/[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.1 - (show annotations) (download)
Sun Apr 6 16:22:53 2008 UTC (11 years, 10 months ago) by betelgeuse
Branch: MAIN
Update not to rely on commons-collections classes being bundled in commons-beanutils and cleanup ebuild. Reported in bug #216265.
(Portage version: 2.1.4.4)

1 # Copyright 1999-2008 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.7 2007/08/19 17:00:08 wltjr 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
22 dev-java/commons-beanutils:1.7
23 >=dev-java/commons-digester-1.6"
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
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 }
54

  ViewVC Help
Powered by ViewVC 1.1.20