# HG changeset patch # User Matthew Sheets # Date 1248967124 0 # Node ID 59feb32d3c4f2a51533d8978328fda34890af6ce # Parent f2ddecc4a3ff1aed13f4e2ec1cae2f9a24e1390d Add: apache-ant (1.7.1) diff -r f2ddecc4a3ff -r 59feb32d3c4f apache-ant/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/apache-ant/receipt Thu Jul 30 15:18:44 2009 +0000 @@ -0,0 +1,40 @@ +# SliTaz package receipt. + +PACKAGE="apache-ant" +VERSION="1.7.1" +CATEGORY="development" +SHORT_DESC="A Java-based build tool." +MAINTAINER="rcx@zoominternet.net" +DEPENDS="jdk" +BUILD_DEPENDS="" +TARBALL="$PACKAGE-$VERSION-bin.tar.bz2" +WEB_SITE="http://ant.apache.org/" +WGET_URL="http://www.apache.org/dist/ant/binaries/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + # The only binaries that would built are Java binaries (not native binaries) + # Thus, to help with bootstrapping, use the binary ant release + cd $src + + mkdir -p $src/_pkg/usr/bin + cp -f $src/bin/*.pl $src/_pkg/usr/bin + cp -f $src/bin/*.py $src/_pkg/usr/bin + cp -f $src/bin/ant $src/_pkg/usr/bin + cp -f $src/bin/antRun $src/_pkg/usr/bin + + cp -a $src/etc $src/_pkg + + mkdir -p $src/_pkg/usr/lib + cp -f $src/lib/*.jar $src/_pkg/usr/lib + cp -f $src/lib/*.pom $src/_pkg/usr/lib +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs + cp -a $_pkg/usr $fs + cp -a $_pkg/etc $fs +}