wok-next diff apache-ant/receipt @ rev 15747

Up: dillo (3.0.3) with better integration for JWM flavor
author Christophe Lincoln <pankso@slitaz.org>
date Fri Jan 03 10:29:30 2014 +0100 (2014-01-03)
parents 5fa932573324
children 929485d8a229
line diff
     1.1 --- a/apache-ant/receipt	Sat Aug 14 12:21:03 2010 +0000
     1.2 +++ b/apache-ant/receipt	Fri Jan 03 10:29:30 2014 +0100
     1.3 @@ -5,14 +5,16 @@
     1.4  CATEGORY="development"
     1.5  SHORT_DESC="A Java-based build tool."
     1.6  MAINTAINER="rcx@zoominternet.net"
     1.7 -DEPENDS="jdk"
     1.8 -#DEPENDS="java-jdk"
     1.9 -BUILD_DEPENDS=""
    1.10 +LICENSE="Apache"
    1.11  SUGGESTED=""
    1.12  TARBALL="$PACKAGE-$VERSION-bin.tar.bz2"
    1.13  WEB_SITE="http://ant.apache.org/"
    1.14  WGET_URL="http://www.apache.org/dist/ant/binaries/$TARBALL"
    1.15  
    1.16 +DEPENDS="jdk"
    1.17 +#DEPENDS="java-jdk"
    1.18 +BUILD_DEPENDS=""
    1.19 +
    1.20  # Rules to configure and make the package.
    1.21  compile_rules()
    1.22  {
    1.23 @@ -20,23 +22,23 @@
    1.24  	# Thus, to help with bootstrapping, use the binary ant release
    1.25  	cd $src
    1.26  	
    1.27 -	mkdir -p $src/_pkg/usr/bin
    1.28 -	cp -f $src/bin/*.pl $src/_pkg/usr/bin
    1.29 -	cp -f $src/bin/*.py $src/_pkg/usr/bin
    1.30 -	cp -f $src/bin/ant $src/_pkg/usr/bin
    1.31 -	cp -f $src/bin/antRun $src/_pkg/usr/bin
    1.32 +	mkdir -p $DESTDIR/usr/bin
    1.33 +	cp -f $src/bin/*.pl $DESTDIR/usr/bin
    1.34 +	cp -f $src/bin/*.py $DESTDIR/usr/bin
    1.35 +	cp -f $src/bin/ant $DESTDIR/usr/bin
    1.36 +	cp -f $src/bin/antRun $DESTDIR/usr/bin
    1.37  
    1.38 -	cp -a $src/etc $src/_pkg
    1.39 +	cp -a $src/etc $DESTDIR
    1.40  	
    1.41 -	mkdir -p $src/_pkg/usr/lib
    1.42 -	cp -f $src/lib/*.jar $src/_pkg/usr/lib
    1.43 -	cp -f $src/lib/*.pom $src/_pkg/usr/lib
    1.44 +	mkdir -p $DESTDIR/usr/lib
    1.45 +	cp -f $src/lib/*.jar $DESTDIR/usr/lib
    1.46 +	cp -f $src/lib/*.pom $DESTDIR/usr/lib
    1.47  }
    1.48  
    1.49  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.50  genpkg_rules()
    1.51  {
    1.52  	mkdir -p  $fs
    1.53 -	cp -a $_pkg/usr $fs
    1.54 -	cp -a $_pkg/etc $fs
    1.55 +	cp -a $install/usr $fs
    1.56 +	cp -a $install/etc $fs
    1.57  }