wok annotate apache-ant/receipt @ rev 3815
Fix: slim cook with gcc 4.4 serie
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Aug 06 14:18:28 2009 +0200 (2009-08-06) |
parents | |
children | f0755d9e99ed |
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@3783 | 8 DEPENDS="jdk" |
rcx@3783 | 9 BUILD_DEPENDS="" |
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 |
rcx@3783 | 14 # Rules to configure and make the package. |
rcx@3783 | 15 compile_rules() |
rcx@3783 | 16 { |
rcx@3783 | 17 # The only binaries that would built are Java binaries (not native binaries) |
rcx@3783 | 18 # Thus, to help with bootstrapping, use the binary ant release |
rcx@3783 | 19 cd $src |
rcx@3783 | 20 |
rcx@3783 | 21 mkdir -p $src/_pkg/usr/bin |
rcx@3783 | 22 cp -f $src/bin/*.pl $src/_pkg/usr/bin |
rcx@3783 | 23 cp -f $src/bin/*.py $src/_pkg/usr/bin |
rcx@3783 | 24 cp -f $src/bin/ant $src/_pkg/usr/bin |
rcx@3783 | 25 cp -f $src/bin/antRun $src/_pkg/usr/bin |
rcx@3783 | 26 |
rcx@3783 | 27 cp -a $src/etc $src/_pkg |
rcx@3783 | 28 |
rcx@3783 | 29 mkdir -p $src/_pkg/usr/lib |
rcx@3783 | 30 cp -f $src/lib/*.jar $src/_pkg/usr/lib |
rcx@3783 | 31 cp -f $src/lib/*.pom $src/_pkg/usr/lib |
rcx@3783 | 32 } |
rcx@3783 | 33 |
rcx@3783 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3783 | 35 genpkg_rules() |
rcx@3783 | 36 { |
rcx@3783 | 37 mkdir -p $fs |
rcx@3783 | 38 cp -a $_pkg/usr $fs |
rcx@3783 | 39 cp -a $_pkg/etc $fs |
rcx@3783 | 40 } |