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