blob: a0733fd8e86b4ea85460abfb959dff251168e247 (
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
34
35
36
37
38
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-owanttask/ant-owanttask-1.1-r11.ebuild,v 1.5 2007/02/03 13:40:14 beandog Exp $
inherit eutils java-pkg-2 java-ant-2
DESCRIPTION="ObjectWeb's Ant tasks"
HOMEPAGE="http://monolog.objectweb.org"
SRC_URI="http://www.gentoo.org/~karltk/java/distfiles/owanttask-${PV}-gentoo.tar.bz2"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 ~ppc x86"
IUSE=""
DEPEND=">=virtual/jdk-1.4"
RDEPEND=">=virtual/jre-1.4
dev-java/ant-core
dev-java/xalan"
S=${WORKDIR}/owanttask-${PV}
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${P}-classpath.patch
mkdir lib
cd lib
java-pkg_jar-from ant-core ant.jar
java-pkg_jar-from xalan
}
src_compile() {
eant jar
}
src_install() {
java-pkg_dojar output/lib/ow_util_ant_tasks.jar
dodir /usr/share/ant-core/lib
dosym /usr/share/ant-owanttask/lib/ow_util_ant_tasks.jar /usr/share/ant-core/lib/
}
|