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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sat Jun 30 21:50:40 2012 UTC (2 years, 2 months ago) by sera
Branch: MAIN
Restrict build to <jdk7. #423519
Fix source zip and make better use of eclasses.
Remove old.

(Portage version: 2.1.10.65/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.5 2012/04/13 18:05:15 ulm Exp $
4
5 EAPI="4"
6
7 JAVA_PKG_IUSE="doc source test"
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 IUSE=""
19
20 COMMON_DEP="
21 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 RDEPEND="${COMMON_DEP}
31 >=virtual/jre-1.5"
32 # Failes to build with jdk7 #423519
33 DEPEND="${COMMON_DEP}
34 || ( virtual/jdk:1.6 virtual/jdk:1.5 )
35 test? (
36 dev-java/emma:0
37 dev-java/ant-junit:0
38 dev-java/ant-trax:0
39 )"
40
41 JAVA_ANT_REWRITE_CLASSPATH="yes"
42 JAVA_ANT_CLASSPATH_TAGS+=" javadoc"
43
44 EANT_GENTOO_CLASSPATH="commons-io-1,jsap,log4j,commons-collections,colt,fastutil-5.0,commons-configuration,commons-lang-2.1,junit"
45
46 EANT_TEST_TARGET="junit"
47 EANT_TEST_ANT_TASKS="ant-trax"
48 EANT_TEST_EXTRA_ARGS="-Djar.base=/usr/share/emma/lib"
49
50 src_test() {
51 java-pkg-2_src_test
52 }
53
54 src_install() {
55 java-pkg_newjar "${P}.jar"
56 use doc && java-pkg_dojavadoc docs
57 use source && java-pkg_dosrc src/it
58 }

  ViewVC Help
Powered by ViewVC 1.1.20