wok-current annotate apache-ant/receipt @ rev 8347
Up: lirc to 0.9.0-pre1.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Feb 02 01:52:29 2011 +0000 (2011-02-02) |
parents | d7465f7f9abb |
children | 191b99ca9dc2 |
rev | line source |
---|---|
rcx@3783 | 1 # SliTaz package receipt. |
rcx@3783 | 2 |
rcx@3783 | 3 PACKAGE="apache-ant" |
rcx@5992 | 4 VERSION="1.8.1" |
rcx@3783 | 5 CATEGORY="development" |
rcx@3783 | 6 SHORT_DESC="A Java-based build tool." |
rcx@3783 | 7 MAINTAINER="rcx@zoominternet.net" |
rcx@3878 | 8 DEPENDS="jdk" |
rcx@3878 | 9 #DEPENDS="java-jdk" |
rcx@3783 | 10 BUILD_DEPENDS="" |
rcx@3877 | 11 SUGGESTED="" |
rcx@3783 | 12 TARBALL="$PACKAGE-$VERSION-bin.tar.bz2" |
rcx@3783 | 13 WEB_SITE="http://ant.apache.org/" |
rcx@3783 | 14 WGET_URL="http://www.apache.org/dist/ant/binaries/$TARBALL" |
rcx@3783 | 15 |
rcx@3783 | 16 # Rules to configure and make the package. |
rcx@3783 | 17 compile_rules() |
rcx@3783 | 18 { |
rcx@3783 | 19 # The only binaries that would built are Java binaries (not native binaries) |
rcx@3783 | 20 # Thus, to help with bootstrapping, use the binary ant release |
rcx@3783 | 21 cd $src |
rcx@3783 | 22 |
rcx@3783 | 23 mkdir -p $src/_pkg/usr/bin |
rcx@3783 | 24 cp -f $src/bin/*.pl $src/_pkg/usr/bin |
rcx@3783 | 25 cp -f $src/bin/*.py $src/_pkg/usr/bin |
rcx@3783 | 26 cp -f $src/bin/ant $src/_pkg/usr/bin |
rcx@3783 | 27 cp -f $src/bin/antRun $src/_pkg/usr/bin |
rcx@3783 | 28 |
rcx@3783 | 29 cp -a $src/etc $src/_pkg |
rcx@3783 | 30 |
rcx@3783 | 31 mkdir -p $src/_pkg/usr/lib |
rcx@3783 | 32 cp -f $src/lib/*.jar $src/_pkg/usr/lib |
rcx@3783 | 33 cp -f $src/lib/*.pom $src/_pkg/usr/lib |
rcx@3783 | 34 } |
rcx@3783 | 35 |
rcx@3783 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3783 | 37 genpkg_rules() |
rcx@3783 | 38 { |
rcx@3783 | 39 mkdir -p $fs |
rcx@3783 | 40 cp -a $_pkg/usr $fs |
rcx@3783 | 41 cp -a $_pkg/etc $fs |
rcx@3783 | 42 } |