/[gentoo-x86]/dev-java/dsiutils/dsiutils-1.0.10-r1.ebuild
Gentoo

Contents of /dev-java/dsiutils/dsiutils-1.0.10-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Fri Apr 13 18:05:15 2012 UTC (2 years, 5 months ago) by ulm
Branch: MAIN
Changes since 1.4: +3 -3 lines
Move EAPI assignment to top of ebuild, bug 411875.

(Portage version: 2.1.10.56/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-java/dsiutils/dsiutils-1.0.10-r1.ebuild,v 1.4 2010/02/09 20:39:41 josejx Exp $
4
5 EAPI="2"
6 JAVA_PKG_IUSE="doc source test"
7 JAVA_ANT_CLASSPATH_TAGS="javac xjavac junit"
8
9 inherit java-pkg-2 java-ant-2
10
11 DESCRIPTION="A Mish Mash of classes that were initially distributed with mg4j (amount others)."
12 HOMEPAGE="http://dsiutils.dsi.unimi.it/"
13 SRC_URI="http://dsiutils.dsi.unimi.it/${P}-src.tar.gz"
14
15 LICENSE="LGPL-3"
16 SLOT="0"
17 KEYWORDS="amd64 ppc ppc64 x86"
18
19 IUSE=""
20
21 COMMON_DEP="dev-java/commons-io:1
22 dev-java/jsap:0
23 dev-java/log4j:0
24 dev-java/commons-collections:0
25 dev-java/colt:0
26 dev-java/fastutil:5.0
27 dev-java/commons-configuration:0
28 dev-java/commons-lang:2.1
29 dev-java/junit:0"
30
31 RDEPEND=">=virtual/jre-1.5
32 ${COMMON_DEP}"
33 DEPEND=">=virtual/jdk-1.5
34 test? (
35 dev-java/emma:0
36 dev-java/ant-junit:0
37 dev-java/ant-trax:0
38 )
39 ${COMMON_DEP}"
40
41 java_prepare() {
42 java-ant_rewrite-classpath
43 }
44
45 JAVA_ANT_REWRITE_CLASSPATH="1"
46 EANT_GENTOO_CLASSPATH="commons-io-1,jsap,log4j,commons-collections,colt,fastutil-5.0,commons-configuration,commons-lang-2.1,junit"
47
48 src_install() {
49 java-pkg_newjar "${P}.jar"
50 use doc && java-pkg_dojavadoc docs
51 use source && java-pkg_dosrc src
52 }
53
54 src_test() {
55 ANT_TASKS="ant-junit,ant-trax" eant \
56 -Djar.base=/usr/share/emma/lib \
57 -Dgentoo.classpath="$(java-pkg_getjars --build-only ${EANT_GENTOO_CLASSPATH})" \
58 junit
59 }

  ViewVC Help
Powered by ViewVC 1.1.20