summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-04-02 21:57:23 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-04-02 21:57:23 +0000
commit39aedc0ebaf5a11f93a759d4e4c1a1ff99f75223 (patch)
tree0df8bece69a7024d400a5d8ac5860da615c125f0 /dev-java/spice-jndikit/spice-jndikit-1.2.ebuild
parentx86 stable wrt security bug 173070 (diff)
downloadhistorical-39aedc0ebaf5a11f93a759d4e4c1a1ff99f75223.tar.gz
historical-39aedc0ebaf5a11f93a759d4e4c1a1ff99f75223.tar.bz2
historical-39aedc0ebaf5a11f93a759d4e4c1a1ff99f75223.zip
Migrate to splitted ant.
Package-Manager: portage-2.1.2.3
Diffstat (limited to 'dev-java/spice-jndikit/spice-jndikit-1.2.ebuild')
-rw-r--r--dev-java/spice-jndikit/spice-jndikit-1.2.ebuild13
1 files changed, 5 insertions, 8 deletions
diff --git a/dev-java/spice-jndikit/spice-jndikit-1.2.ebuild b/dev-java/spice-jndikit/spice-jndikit-1.2.ebuild
index e212ec3aa93a..faee926a7278 100644
--- a/dev-java/spice-jndikit/spice-jndikit-1.2.ebuild
+++ b/dev-java/spice-jndikit/spice-jndikit-1.2.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/spice-jndikit/spice-jndikit-1.2.ebuild,v 1.1 2007/01/12 21:35:20 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/spice-jndikit/spice-jndikit-1.2.ebuild,v 1.2 2007/04/02 21:57:23 betelgeuse Exp $
+
+JAVA_PKG_IUSE=="doc source test"
inherit java-pkg-2 java-ant-2
@@ -11,16 +13,11 @@ LICENSE="Spice-1.1"
SLOT="0"
KEYWORDS="~x86"
-IUSE="doc source test"
-
RDEPEND=">=virtual/jre-1.4"
DEPEND="
- >=dev-java/java-config-2.0.31
!doc? ( >=virtual/jdk-1.4 )
doc? ( || ( =virtual/jdk-1.4* =virtual/jdk-1.5* ) )
- dev-java/ant-core
- source? ( app-arch/zip )
- test? ( dev-java/junit dev-java/ant-tasks )"
+ test? ( || ( dev-java/ant-junit dev-java/ant-tasks ) )"
src_unpack() {
unpack ${A}
@@ -38,7 +35,7 @@ src_compile() {
src_test() {
einfo "Tests need a network connection so they will fail without it"
- eant test -DJunit.present=true \
+ ANT_TASKS="ant-junit" eant test -DJunit.present=true \
-Dgentoo.classpath="$(java-pkg_getjars --build-only junit)"
}