wok-6.x view apache-ant/receipt @ rev 23386
updated perl-parse-recdescent (1.965001 -> 1.967015)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 31 16:09:48 2020 +0100 (2020-03-31) |
parents | 929485d8a229 |
children | 0b02213fe0a1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="apache-ant"
4 VERSION="1.10.7"
5 CATEGORY="development"
6 SHORT_DESC="A Java-based build tool."
7 MAINTAINER="rcx@zoominternet.net"
8 LICENSE="Apache"
9 WEB_SITE="http://ant.apache.org/"
11 TARBALL="$PACKAGE-$VERSION-bin.tar.bz2"
12 WGET_URL="http://www.apache.org/dist/ant/binaries/$TARBALL"
14 SUGGESTED=""
15 DEPENDS="jdk"
16 #DEPENDS="java-jdk"
17 BUILD_DEPENDS=""
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 # The only binaries that would built are Java binaries (not native binaries)
23 # Thus, to help with bootstrapping, use the binary ant release
25 mkdir -p $DESTDIR/usr/bin
27 cp -f $src/bin/*.pl $DESTDIR/usr/bin
28 cp -f $src/bin/*.py $DESTDIR/usr/bin
29 cp -f $src/bin/ant $DESTDIR/usr/bin
30 cp -f $src/bin/antRun $DESTDIR/usr/bin
32 cp -a $src/etc $DESTDIR
34 mkdir -p $DESTDIR/usr/lib
36 cp -f $src/lib/*.jar $DESTDIR/usr/lib
37 cp -f $src/lib/*.pom $DESTDIR/usr/lib
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs
45 cp -a $install/usr $fs
46 cp -a $install/etc $fs
47 }