wok-current rev 9899

ecj: fix receipt path
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 17 11:47:58 2011 +0200 (2011-05-17)
parents fe1aaf9fa5b9
children 45e5d2256ab7
files ecj/receipt
line diff
     1.1 --- a/ecj/receipt	Tue May 17 11:44:43 2011 +0200
     1.2 +++ b/ecj/receipt	Tue May 17 11:47:58 2011 +0200
     1.3 @@ -21,14 +21,13 @@
     1.4  compile_rules()
     1.5  {
     1.6  	# Build the ecj shell script to use the current version
     1.7 -	mkdir -p $src/_pkg/usr/bin && 
     1.8 -	echo "#!/bin/sh" > $src/_pkg/usr/bin/ecj &&
     1.9 -	echo "ECJ_VERSION=$VERSION" >> $src/_pkg/usr/bin/ecj &&
    1.10 -	cat stuff/ecj.sh.part >> $src/_pkg/usr/bin/ecj &&
    1.11 -	chmod +x $src/_pkg/usr/bin/ecj &&
    1.12 -
    1.13 -	mkdir -p $src/_pkg/usr/share/java &&
    1.14 -	cp -a $src/$TARBALL $src/_pkg/usr/share/java
    1.15 +	mkdir -p $DESTDIR/usr/bin && 
    1.16 +	echo "#!/bin/sh" > $DESTDIR/usr/bin/ecj &&
    1.17 +	echo "ECJ_VERSION=$VERSION" >> $DESTDIR/usr/bin/ecj &&
    1.18 +	cat $stuff/ecj.sh.part >> $DESTDIR/usr/bin/ecj &&
    1.19 +	chmod +x $DESTDIR/usr/bin/ecj &&
    1.20 +	mkdir -p $DESTDIR/usr/share/java &&
    1.21 +	cp -a $src/$TARBALL $DESTDIR/usr/share/java
    1.22  }
    1.23  
    1.24  # Rules to gen a SliTaz package suitable for Tazpkg.