# SliTaz package receipt. PACKAGE="apache-ant" VERSION="1.8.1" CATEGORY="development" SHORT_DESC="A Java-based build tool." MAINTAINER="rcx@zoominternet.net" DEPENDS="jdk" #DEPENDS="java-jdk" BUILD_DEPENDS="" SUGGESTED="" 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 }