wok-current rev 9702

binutils: Fix a bug fot Tazwok and make it build for cookutils.
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 08 15:46:39 2011 +0200 (2011-05-08)
parents 7b13b3b4b836
children 13e77a27a5bd
files binutils/receipt
line diff
     1.1 --- a/binutils/receipt	Sun May 08 09:40:48 2011 +0000
     1.2 +++ b/binutils/receipt	Sun May 08 15:46:39 2011 +0200
     1.3 @@ -47,7 +47,7 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 -	mkdir -p binutils-build && cd binutils-build
     1.8 +	mkdir -p ../binutils-build && cd ../binutils-build
     1.9  	$src/configure \
    1.10  		--program-prefix=$TOOLPREFIX \
    1.11  		--enable-shared &&
    1.12 @@ -84,6 +84,7 @@
    1.13  	#rm $fs/usr/lib/libiberty.a
    1.14  	rm $fs/usr/bin/strings $fs/usr/bin/*-strings
    1.15  	
    1.16 -	# Remove build directory.
    1.17 -	rm -r $WOK/$PACKAGE/$PACKAGE-build
    1.18 +	# Remove build directory (cookutils and tazwok path).
    1.19 +	rm -rf $WOK/$PACKAGE/source/$PACKAGE-build
    1.20 +	rm -rf $WOK/$PACKAGE/$PACKAGE-build
    1.21  }