summaryrefslogtreecommitdiff
blob: 455c53c197ff7be43b05b1164f93b7b386c3b474 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-trax/ant-trax-1.7.0.ebuild,v 1.1 2007/01/21 23:17:48 caster Exp $

ANT_TASK_DEPNAME="xalan"

inherit ant-tasks

DESCRIPTION="Apache Ant .jar with optional tasks depending on XML transformer (xalan)"
KEYWORDS="~x86"

# it will build without it (ant manual says it's not needed since 1.4 JDK, dunno bout kaffe
# but contains a Xalan2Executor task which probably wouldn't work
DEPEND=">=dev-java/xalan-2.7.0-r2
	~dev-java/ant-junit-${PV}"
RDEPEND="${DEPEND}"

src_unpack() {
	ant-tasks_src_unpack all
	java-pkg_jar-from ant-junit
}