/[gentoo-x86]/dev-java/ant-testutil/ant-testutil-1.8.2.ebuild
Gentoo

Contents of /dev-java/ant-testutil/ant-testutil-1.8.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Fri May 25 11:30:03 2012 UTC (3 years, 3 months ago) by ago
Branch: MAIN
Changes since 1.2: +2 -2 lines
Stable for amd64, wrt bug #417403

(Portage version: 2.1.10.49/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/ant-testutil/ant-testutil-1.8.2.ebuild,v 1.2 2012/05/25 01:21:23 jdhore Exp $
4
5 EAPI="4"
6
7 inherit ant-tasks
8
9 DESCRIPTION="Apache Ant's optional test utility classes"
10 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"
11
12 DEPEND="virtual/jdk:1.6
13 dev-java/junit:4
14 ~dev-java/ant-swing-${PV}
15 ~dev-java/ant-junit4-${PV}"
16 RDEPEND=""
17
18 IUSE=""
19
20 # the build system builds much more than it actually packages, so there are many
21 # build-only deps, but since those are quite common, it wasn't worth to patch it
22
23 src_unpack() {
24 ant-tasks_src_unpack base
25 java-pkg_jar-from --build-only junit-4,ant-junit4,ant-swing
26 java-pkg_jar-from --build-only ant-core ant-launcher.jar
27 }
28
29 src_compile() {
30 eant test-jar
31 }

  ViewVC Help
Powered by ViewVC 1.1.20