diff options
-rw-r--r-- | dev-java/dsiutils/ChangeLog | 8 | ||||
-rw-r--r-- | dev-java/dsiutils/dsiutils-1.0.10-r1.ebuild | 59 |
2 files changed, 66 insertions, 1 deletions
diff --git a/dev-java/dsiutils/ChangeLog b/dev-java/dsiutils/ChangeLog index 0207c4ff0828..3f74151001dc 100644 --- a/dev-java/dsiutils/ChangeLog +++ b/dev-java/dsiutils/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/dsiutils # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/dsiutils/ChangeLog,v 1.9 2009/07/09 12:41:04 ali_bush Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/dsiutils/ChangeLog,v 1.10 2009/07/11 04:07:37 ali_bush Exp $ + +*dsiutils-1.0.10-r1 (11 Jul 2009) + + 11 Jul 2009; Alistair Bush <ali_bush@gentoo.org> + +dsiutils-1.0.10-r1.ebuild: + Fix package.env generation. *dsiutils-1.0.10 (09 Jul 2009) diff --git a/dev-java/dsiutils/dsiutils-1.0.10-r1.ebuild b/dev-java/dsiutils/dsiutils-1.0.10-r1.ebuild new file mode 100644 index 000000000000..e06a94bca82b --- /dev/null +++ b/dev-java/dsiutils/dsiutils-1.0.10-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/dsiutils/dsiutils-1.0.10-r1.ebuild,v 1.1 2009/07/11 04:07:37 ali_bush Exp $ + +JAVA_PKG_IUSE="doc source test" +EAPI="2" +JAVA_ANT_CLASSPATH_TAGS="javac xjavac junit" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="A Mish Mash of classes that were initially distributed with mg4j (amount others)." +HOMEPAGE="http://dsiutils.dsi.unimi.it/" +SRC_URI="http://dsiutils.dsi.unimi.it/${P}-src.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" + +IUSE="" + +COMMON_DEP="dev-java/commons-io:1 + dev-java/jsap:0 + dev-java/log4j:0 + dev-java/commons-collections:0 + dev-java/colt:0 + dev-java/fastutil:5.0 + dev-java/commons-configuration:0 + dev-java/commons-lang:2.1 + dev-java/junit:0" + +RDEPEND=">=virtual/jre-1.5 + ${COMMON_DEP}" +DEPEND=">=virtual/jdk-1.5 + test? ( + dev-java/emma:0 + dev-java/ant-junit:0 + dev-java/ant-trax:0 + ) + ${COMMON_DEP}" + +java_prepare() { + java-ant_rewrite-classpath +} + +JAVA_ANT_REWRITE_CLASSPATH="1" +EANT_GENTOO_CLASSPATH="commons-io-1,jsap,log4j,commons-collections,colt,fastutil-5.0,commons-configuration,commons-lang-2.1,junit" + +src_install() { + java-pkg_newjar "${P}.jar" + use doc && java-pkg_dojavadoc docs + use source && java-pkg_dosrc src +} + +src_test() { + ANT_TASKS="ant-junit,ant-trax" eant \ + -Djar.base=/usr/share/emma/lib \ + -Dgentoo.classpath="$(java-pkg_getjars --build-only ${EANT_GENTOO_CLASSPATH})" \ + junit +} |