blob: 514797345c5a53ffc6da0dbd6848cfcf74d65ba2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-testutil/ant-testutil-1.8.1.ebuild,v 1.6 2011/12/25 22:35:20 fordfrog Exp $
EAPI="1"
inherit ant-tasks
DESCRIPTION="Apache Ant's optional test utility classes"
KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
DEPEND="virtual/jdk:1.6
dev-java/junit:0
~dev-java/ant-nodeps-${PV}
~dev-java/ant-swing-${PV}
~dev-java/ant-trax-${PV}
~dev-java/ant-junit-${PV}"
RDEPEND=""
IUSE=""
# the build system builds much more than it actually packages, so there are many
# build-only deps, but since those are quite common, it wasn't worth to patch it
src_unpack() {
ant-tasks_src_unpack base
java-pkg_jar-from --build-only junit,ant-nodeps,ant-junit,ant-swing,ant-trax
java-pkg_jar-from --build-only ant-core ant-launcher.jar
}
src_compile() {
eant test-jar
}
|