wok-next annotate apache-ant/receipt @ rev 4271
Up openldap (2.4.16)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 25 22:49:42 2009 +0200 (2009-09-25) |
parents | f0755d9e99ed |
children | 5fa932573324 |
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@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 } |