wok view apache-ant/receipt @ rev 16481

xpaint: clean up packaged files
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 23 03:43:46 2014 +0200 (2014-04-23)
parents 5fa932573324
children 929485d8a229
line source
1 # SliTaz package receipt.
3 PACKAGE="apache-ant"
4 VERSION="1.8.1"
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 }