wok annotate apache-ant/receipt @ rev 22660
updated drbd-utils again (8.9.1 -> 9.11.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jan 17 08:08:57 2020 +0100 (2020-01-17) |
parents | 929485d8a229 |
children | 0b02213fe0a1 |
rev | line source |
---|---|
rcx@3783 | 1 # SliTaz package receipt. |
rcx@3783 | 2 |
rcx@3783 | 3 PACKAGE="apache-ant" |
Hans-G?nter@22485 | 4 VERSION="1.10.7" |
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" |
Hans-G?nter@22485 | 9 WEB_SITE="http://ant.apache.org/" |
Hans-G?nter@22485 | 10 |
rcx@3783 | 11 TARBALL="$PACKAGE-$VERSION-bin.tar.bz2" |
rcx@3783 | 12 WGET_URL="http://www.apache.org/dist/ant/binaries/$TARBALL" |
rcx@3783 | 13 |
Hans-G?nter@22485 | 14 SUGGESTED="" |
pascal@15361 | 15 DEPENDS="jdk" |
pascal@15361 | 16 #DEPENDS="java-jdk" |
pascal@15361 | 17 BUILD_DEPENDS="" |
pascal@15361 | 18 |
rcx@3783 | 19 # Rules to configure and make the package. |
rcx@3783 | 20 compile_rules() |
rcx@3783 | 21 { |
rcx@3783 | 22 # The only binaries that would built are Java binaries (not native binaries) |
rcx@3783 | 23 # Thus, to help with bootstrapping, use the binary ant release |
rcx@3783 | 24 |
pascal@15361 | 25 mkdir -p $DESTDIR/usr/bin |
rcx@3783 | 26 |
Hans-G?nter@22485 | 27 cp -f $src/bin/*.pl $DESTDIR/usr/bin |
Hans-G?nter@22485 | 28 cp -f $src/bin/*.py $DESTDIR/usr/bin |
Hans-G?nter@22485 | 29 cp -f $src/bin/ant $DESTDIR/usr/bin |
Hans-G?nter@22485 | 30 cp -f $src/bin/antRun $DESTDIR/usr/bin |
Hans-G?nter@22485 | 31 |
Hans-G?nter@22485 | 32 cp -a $src/etc $DESTDIR |
rcx@3783 | 33 |
pascal@15361 | 34 mkdir -p $DESTDIR/usr/lib |
Hans-G?nter@22485 | 35 |
Hans-G?nter@22485 | 36 cp -f $src/lib/*.jar $DESTDIR/usr/lib |
Hans-G?nter@22485 | 37 cp -f $src/lib/*.pom $DESTDIR/usr/lib |
rcx@3783 | 38 } |
rcx@3783 | 39 |
rcx@3783 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3783 | 41 genpkg_rules() |
rcx@3783 | 42 { |
Hans-G?nter@22485 | 43 mkdir -p $fs |
Hans-G?nter@22485 | 44 |
Hans-G?nter@22485 | 45 cp -a $install/usr $fs |
Hans-G?nter@22485 | 46 cp -a $install/etc $fs |
rcx@3783 | 47 } |