wok-6.x rev 3783

Add: apache-ant (1.7.1)
author Matthew Sheets <rcx@zoominternet.net>
date Thu Jul 30 15:18:44 2009 +0000 (2009-07-30)
parents f2ddecc4a3ff
children f91c3f4209ed
files apache-ant/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/apache-ant/receipt	Thu Jul 30 15:18:44 2009 +0000
     1.3 @@ -0,0 +1,40 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="apache-ant"
     1.7 +VERSION="1.7.1"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="A Java-based build tool."
    1.10 +MAINTAINER="rcx@zoominternet.net"
    1.11 +DEPENDS="jdk"
    1.12 +BUILD_DEPENDS=""
    1.13 +TARBALL="$PACKAGE-$VERSION-bin.tar.bz2"
    1.14 +WEB_SITE="http://ant.apache.org/"
    1.15 +WGET_URL="http://www.apache.org/dist/ant/binaries/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	# The only binaries that would built are Java binaries (not native binaries)
    1.21 +	# Thus, to help with bootstrapping, use the binary ant release
    1.22 +	cd $src
    1.23 +	
    1.24 +	mkdir -p $src/_pkg/usr/bin
    1.25 +	cp -f $src/bin/*.pl $src/_pkg/usr/bin
    1.26 +	cp -f $src/bin/*.py $src/_pkg/usr/bin
    1.27 +	cp -f $src/bin/ant $src/_pkg/usr/bin
    1.28 +	cp -f $src/bin/antRun $src/_pkg/usr/bin
    1.29 +
    1.30 +	cp -a $src/etc $src/_pkg
    1.31 +	
    1.32 +	mkdir -p $src/_pkg/usr/lib
    1.33 +	cp -f $src/lib/*.jar $src/_pkg/usr/lib
    1.34 +	cp -f $src/lib/*.pom $src/_pkg/usr/lib
    1.35 +}
    1.36 +
    1.37 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.38 +genpkg_rules()
    1.39 +{
    1.40 +	mkdir -p  $fs
    1.41 +	cp -a $_pkg/usr $fs
    1.42 +	cp -a $_pkg/etc $fs
    1.43 +}