wok diff uclibc-cross-compiler-armv4l/receipt @ rev 8796

Fix compile_rules() for ecm
author Antoine Bodin <gokhlayeh@slitaz.org>
date Tue Feb 22 23:52:43 2011 +0100 (2011-02-22)
parents 8da46cc14f57
children d357d6dbbfa8
line diff
     1.1 --- a/uclibc-cross-compiler-armv4l/receipt	Sat Aug 14 14:20:45 2010 +0200
     1.2 +++ b/uclibc-cross-compiler-armv4l/receipt	Tue Feb 22 23:52:43 2011 +0100
     1.3 @@ -10,18 +10,12 @@
     1.4  WEB_SITE="http://impactlinux.com/aboriginal"
     1.5  WGET_URL="$WEB_SITE/downloads/binaries/$TARBALL"
     1.6  
     1.7 -# Rules to configure and make the package.
     1.8 -compile_rules()
     1.9 -{
    1.10 -	cd $SOURCE
    1.11 -}
    1.12 -
    1.13  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.14  genpkg_rules()
    1.15  {
    1.16  	mkdir -p $fs/usr/share $fs/usr/bin
    1.17 -	cp -a $SOURCE $fs/usr/share/$PACKAGE
    1.18 -	for i in $(cd $SOURCE ; ls bin/${PACKAGE##*-}-*); do
    1.19 +	cp -a $src $fs/usr/share/$PACKAGE
    1.20 +	for i in $(cd $src ; ls bin/${PACKAGE##*-}-*); do
    1.21  		file=$(basename $i)
    1.22  		ln -s ../share/$PACKAGE/bin/$file $fs/usr/bin/uclibc-$file
    1.23  	done