wok diff apache-ant/receipt @ rev 22485

updated apache-ant (1.9.4 -> 1.10.7)
author Hans-G?nter Theisgen
date Mon Dec 30 17:22:25 2019 +0100 (2019-12-30)
parents 929485d8a229
children 0b02213fe0a1
line diff
     1.1 --- a/apache-ant/receipt	Mon Aug 04 14:34:03 2014 -0300
     1.2 +++ b/apache-ant/receipt	Mon Dec 30 17:22:25 2019 +0100
     1.3 @@ -1,16 +1,17 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="apache-ant"
     1.7 -VERSION="1.9.4"
     1.8 +VERSION="1.10.7"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="A Java-based build tool."
    1.11  MAINTAINER="rcx@zoominternet.net"
    1.12  LICENSE="Apache"
    1.13 -SUGGESTED=""
    1.14 +WEB_SITE="http://ant.apache.org/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION-bin.tar.bz2"
    1.17 -WEB_SITE="http://ant.apache.org/"
    1.18  WGET_URL="http://www.apache.org/dist/ant/binaries/$TARBALL"
    1.19  
    1.20 +SUGGESTED=""
    1.21  DEPENDS="jdk"
    1.22  #DEPENDS="java-jdk"
    1.23  BUILD_DEPENDS=""
    1.24 @@ -20,25 +21,27 @@
    1.25  {
    1.26  	# The only binaries that would built are Java binaries (not native binaries)
    1.27  	# Thus, to help with bootstrapping, use the binary ant release
    1.28 -	cd $src
    1.29  	
    1.30  	mkdir -p $DESTDIR/usr/bin
    1.31 -	cp -f $src/bin/*.pl $DESTDIR/usr/bin
    1.32 -	cp -f $src/bin/*.py $DESTDIR/usr/bin
    1.33 -	cp -f $src/bin/ant $DESTDIR/usr/bin
    1.34 -	cp -f $src/bin/antRun $DESTDIR/usr/bin
    1.35  
    1.36 -	cp -a $src/etc $DESTDIR
    1.37 +	cp -f $src/bin/*.pl	$DESTDIR/usr/bin
    1.38 +	cp -f $src/bin/*.py	$DESTDIR/usr/bin
    1.39 +	cp -f $src/bin/ant	$DESTDIR/usr/bin
    1.40 +	cp -f $src/bin/antRun	$DESTDIR/usr/bin
    1.41 +
    1.42 +	cp -a $src/etc		$DESTDIR
    1.43  	
    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 +	cp -f $src/lib/*.jar	$DESTDIR/usr/lib
    1.49 +	cp -f $src/lib/*.pom	$DESTDIR/usr/lib
    1.50  }
    1.51  
    1.52  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.53  genpkg_rules()
    1.54  {
    1.55 -	mkdir -p  $fs
    1.56 -	cp -a $install/usr $fs
    1.57 -	cp -a $install/etc $fs
    1.58 +	mkdir -p $fs
    1.59 +
    1.60 +	cp -a $install/usr	$fs
    1.61 +	cp -a $install/etc	$fs
    1.62  }