wok-next view apache-ant/receipt @ rev 20229
Up cookutils (1002), ladspa (v2), liblo (0.29), hydrogen, svgcleaner; add svgcleaner-gui
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Nov 06 03:21:50 2017 +0200 (2017-11-06) |
parents | 191b99ca9dc2 |
children | f48456621a9d |
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 }