wok-6.x rev 8213

imported patch toolchain/uclibc-cross-compiler-i486.patch
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Jan 27 00:20:50 2011 +0100 (2011-01-27)
parents 49237253b927
children 3f8017e587e1
files uclibc-cross-compiler-i486/receipt
line diff
     1.1 --- a/uclibc-cross-compiler-i486/receipt	Thu Jan 27 00:20:50 2011 +0100
     1.2 +++ b/uclibc-cross-compiler-i486/receipt	Thu Jan 27 00:20:50 2011 +0100
     1.3 @@ -13,15 +13,15 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 -	cd $SOURCE
     1.8 +	cd $src
     1.9  }
    1.10  
    1.11  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.12  genpkg_rules()
    1.13  {
    1.14  	mkdir -p $fs/usr/share $fs/usr/bin
    1.15 -	cp -a $SOURCE $fs/usr/share/$PACKAGE
    1.16 -	for i in $(cd $SOURCE ; ls bin/${PACKAGE##*-}-*); do
    1.17 +	cp -a $src $fs/usr/share/$PACKAGE
    1.18 +	for i in $(cd $src ; ls bin/${PACKAGE##*-}-*); do
    1.19  		file=$(basename $i)
    1.20  		ln -s ../share/$PACKAGE/bin/$file $fs/usr/bin/uclibc-$file
    1.21  	done