blob: eb2ebab68d88b86632933e00cc7a478de66e37a3 (
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
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Karl Trygve Kalleberg <karltk@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/dev-java/ant/ant-1.4.1-r2.ebuild,v 1.2 2002/04/28 04:12:40 seemant Exp $
S=${WORKDIR}/jakarta-ant-${PV}
DESCRIPTION="Build system for Java"
SRC_URI="http://jakarta.apache.org/builds/jakarta-ant/release/v${PV}/src/jakarta-ant-${PV}-src.tar.gz"
HOMEPAGE="http://jakarta.apache.org"
DEPEND="virtual/glibc
>=virtual/jdk-1.3"
src_compile() {
export JAVA_HOME=${JDK_HOME}
./build.sh -Ddist.dir=${D}/usr/share/ant || die
}
src_install() {
cp ${FILESDIR}/gentoo-ant-1.4.1 src/ant
exeinto /usr/bin
doexe src/ant
dojar build/lib/*.jar lib/*.jar
dodoc LICENSE README WHATSNEW KEYS
dohtml -r docs/*
}
|