wok view apache-ant/receipt @ rev 21011
updated gtklife (5.1 -> 5.2)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 09 15:17:33 2019 +0100 (2019-03-09) |
parents | 191b99ca9dc2 |
children | 637a2ffc4fa0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="apache-ant"
4 VERSION="1.9.4"
5 CATEGORY="development"
6 SHORT_DESC="A Java-based build tool."
7 MAINTAINER="rcx@zoominternet.net"
8 LICENSE="Apache"
9 SUGGESTED=""
10 TARBALL="$PACKAGE-$VERSION-bin.tar.bz2"
11 WEB_SITE="http://ant.apache.org/"
12 WGET_URL="http://www.apache.org/dist/ant/binaries/$TARBALL"
14 DEPENDS="jdk"
15 #DEPENDS="java-jdk"
16 BUILD_DEPENDS=""
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 # The only binaries that would built are Java binaries (not native binaries)
22 # Thus, to help with bootstrapping, use the binary ant release
23 cd $src
25 mkdir -p $DESTDIR/usr/bin
26 cp -f $src/bin/*.pl $DESTDIR/usr/bin
27 cp -f $src/bin/*.py $DESTDIR/usr/bin
28 cp -f $src/bin/ant $DESTDIR/usr/bin
29 cp -f $src/bin/antRun $DESTDIR/usr/bin
31 cp -a $src/etc $DESTDIR
33 mkdir -p $DESTDIR/usr/lib
34 cp -f $src/lib/*.jar $DESTDIR/usr/lib
35 cp -f $src/lib/*.pom $DESTDIR/usr/lib
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs
42 cp -a $install/usr $fs
43 cp -a $install/etc $fs
44 }