wok view apache-ant/receipt @ rev 23839

Up tor (0.4.3.5)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 03 18:59:32 2020 +0000 (2020-06-03)
parents 637a2ffc4fa0
children 83927a09d38d
line source
1 # SliTaz package receipt.
3 PACKAGE="apache-ant"
4 VERSION="1.10.8"
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 }