wok-next annotate apache-ant/receipt @ rev 20402
Up seed (3.8.1) use webkitgtk instead of libwebkit; add cogl for clutter; up clutter (1.26.2) using mesa17 instead of mesa; up gnome-games using mesa17 instead of mix 'mesa & mesa17'
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Dec 05 17:49:11 2017 +0200 (2017-12-05) |
parents | 191b99ca9dc2 |
children | f48456621a9d |
rev | line source |
---|---|
rcx@3783 | 1 # SliTaz package receipt. |
rcx@3783 | 2 |
rcx@3783 | 3 PACKAGE="apache-ant" |
yuripourre@16970 | 4 VERSION="1.9.4" |
rcx@3783 | 5 CATEGORY="development" |
rcx@3783 | 6 SHORT_DESC="A Java-based build tool." |
rcx@3783 | 7 MAINTAINER="rcx@zoominternet.net" |
pascal@15361 | 8 LICENSE="Apache" |
rcx@3877 | 9 SUGGESTED="" |
rcx@3783 | 10 TARBALL="$PACKAGE-$VERSION-bin.tar.bz2" |
rcx@3783 | 11 WEB_SITE="http://ant.apache.org/" |
rcx@3783 | 12 WGET_URL="http://www.apache.org/dist/ant/binaries/$TARBALL" |
rcx@3783 | 13 |
pascal@15361 | 14 DEPENDS="jdk" |
pascal@15361 | 15 #DEPENDS="java-jdk" |
pascal@15361 | 16 BUILD_DEPENDS="" |
pascal@15361 | 17 |
rcx@3783 | 18 # Rules to configure and make the package. |
rcx@3783 | 19 compile_rules() |
rcx@3783 | 20 { |
rcx@3783 | 21 # The only binaries that would built are Java binaries (not native binaries) |
rcx@3783 | 22 # Thus, to help with bootstrapping, use the binary ant release |
rcx@3783 | 23 cd $src |
rcx@3783 | 24 |
pascal@15361 | 25 mkdir -p $DESTDIR/usr/bin |
pascal@15361 | 26 cp -f $src/bin/*.pl $DESTDIR/usr/bin |
pascal@15361 | 27 cp -f $src/bin/*.py $DESTDIR/usr/bin |
pascal@15361 | 28 cp -f $src/bin/ant $DESTDIR/usr/bin |
pascal@15361 | 29 cp -f $src/bin/antRun $DESTDIR/usr/bin |
rcx@3783 | 30 |
pascal@15361 | 31 cp -a $src/etc $DESTDIR |
rcx@3783 | 32 |
pascal@15361 | 33 mkdir -p $DESTDIR/usr/lib |
pascal@15361 | 34 cp -f $src/lib/*.jar $DESTDIR/usr/lib |
pascal@15361 | 35 cp -f $src/lib/*.pom $DESTDIR/usr/lib |
rcx@3783 | 36 } |
rcx@3783 | 37 |
rcx@3783 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3783 | 39 genpkg_rules() |
rcx@3783 | 40 { |
rcx@3783 | 41 mkdir -p $fs |
pascal@15361 | 42 cp -a $install/usr $fs |
pascal@15361 | 43 cp -a $install/etc $fs |
rcx@3783 | 44 } |