wok-stable annotate apache-ant/receipt @ rev 3877
Downgrade: ecj (3.5 to 3.4.2) [icedtea6 compatibility]
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Mon Aug 10 12:29:28 2009 +0000 (2009-08-10) |
parents | 59feb32d3c4f |
children | d7465f7f9abb |
rev | line source |
---|---|
rcx@3783 | 1 # SliTaz package receipt. |
rcx@3783 | 2 |
rcx@3783 | 3 PACKAGE="apache-ant" |
rcx@3783 | 4 VERSION="1.7.1" |
rcx@3783 | 5 CATEGORY="development" |
rcx@3783 | 6 SHORT_DESC="A Java-based build tool." |
rcx@3783 | 7 MAINTAINER="rcx@zoominternet.net" |
rcx@3877 | 8 DEPENDS="java-jdk" |
rcx@3783 | 9 BUILD_DEPENDS="" |
rcx@3877 | 10 SUGGESTED="" |
rcx@3783 | 11 TARBALL="$PACKAGE-$VERSION-bin.tar.bz2" |
rcx@3783 | 12 WEB_SITE="http://ant.apache.org/" |
rcx@3783 | 13 WGET_URL="http://www.apache.org/dist/ant/binaries/$TARBALL" |
rcx@3783 | 14 |
rcx@3783 | 15 # Rules to configure and make the package. |
rcx@3783 | 16 compile_rules() |
rcx@3783 | 17 { |
rcx@3783 | 18 # The only binaries that would built are Java binaries (not native binaries) |
rcx@3783 | 19 # Thus, to help with bootstrapping, use the binary ant release |
rcx@3783 | 20 cd $src |
rcx@3783 | 21 |
rcx@3783 | 22 mkdir -p $src/_pkg/usr/bin |
rcx@3783 | 23 cp -f $src/bin/*.pl $src/_pkg/usr/bin |
rcx@3783 | 24 cp -f $src/bin/*.py $src/_pkg/usr/bin |
rcx@3783 | 25 cp -f $src/bin/ant $src/_pkg/usr/bin |
rcx@3783 | 26 cp -f $src/bin/antRun $src/_pkg/usr/bin |
rcx@3783 | 27 |
rcx@3783 | 28 cp -a $src/etc $src/_pkg |
rcx@3783 | 29 |
rcx@3783 | 30 mkdir -p $src/_pkg/usr/lib |
rcx@3783 | 31 cp -f $src/lib/*.jar $src/_pkg/usr/lib |
rcx@3783 | 32 cp -f $src/lib/*.pom $src/_pkg/usr/lib |
rcx@3783 | 33 } |
rcx@3783 | 34 |
rcx@3783 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3783 | 36 genpkg_rules() |
rcx@3783 | 37 { |
rcx@3783 | 38 mkdir -p $fs |
rcx@3783 | 39 cp -a $_pkg/usr $fs |
rcx@3783 | 40 cp -a $_pkg/etc $fs |
rcx@3783 | 41 } |