wok-next diff java-jre/receipt @ rev 4639

linux-souce: Add tazpkg support (make tazpkg)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Fri Dec 25 22:39:27 2009 +0100 (2009-12-25)
parents d4be90e180f7
children 9b3a716845ad
line diff
     1.1 --- a/java-jre/receipt	Mon Sep 28 18:46:51 2009 +0200
     1.2 +++ b/java-jre/receipt	Fri Dec 25 22:39:27 2009 +0100
     1.3 @@ -17,16 +17,6 @@
     1.4  	# tazwok does not define _pkg correctly when both WANTED and SOURCE are set
     1.5  	_pkg=$WOK/$WANTED/$SOURCE-$VERSION/_pkg
     1.6  
     1.7 -	mkdir -p $fs/usr/bin $fs/usr/lib/jvm/java-icedtea/jre/lib/i386/jli
     1.8 -	cp -a $_pkg/usr/lib/jvm/java-icedtea/jre/lib/i386/jli/libjli.so \
     1.9 -		$fs/usr/lib/jvm/java-icedtea/jre/lib/i386/jli
    1.10 +	mkdir -p $fs/usr/bin
    1.11  	cp -a $_pkg/usr/jre-bin/* $fs/usr/bin
    1.12 -	for i in $_pkg/usr/jre-bin/* ; do
    1.13 -		while [ -L $i ]; do
    1.14 -			target=$(readlink $i)
    1.15 -			mkdir -p $fs$(dirname $target)
    1.16 -			cp -a $_pkg$target $fs$target
    1.17 -			i=$_pkg$target
    1.18 -		done
    1.19 -	done
    1.20  }