wok annotate apache-ant/receipt @ rev 21752
tazboot: shrink (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 15 22:12:18 2019 +0200 (2019-06-15) |
parents | 191b99ca9dc2 |
children | 637a2ffc4fa0 |
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 } |