summaryrefslogtreecommitdiff
blob: 43666255f3142a7e11e9c0a824af3ad552ce9766 (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
39
40
# Copyright 1999-2001 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-r1.ebuild,v 1.1 2001/12/12 23:50:21 karltk Exp $

A="jakarta-ant-${PV}-src.tar.gz"
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() {
	./bootstrap.sh
}

src_install() {

	cp ${FILESDIR}/gentoo-ant-1.4.1 src/ant

	exeinto /usr/bin
	doexe src/ant

	insinto /usr/share/ant
	doins build/lib/*.jar lib/*.jar
	insinto /usr/share/ant

	ls ${D}/usr/share/ant/*.jar | \
		tr '\n' ':' \
		> ${D}/usr/share/ant/classpath.env
	dosed usr/share/ant/classpath.env
	
	dodoc LICENSE README WHATSNEW KEYS
	dohtml -r docs/*
}