wok-next diff uclibc-cross-compiler-sparc/receipt @ rev 9045

asterisk-sound-fr: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 04 08:55:47 2011 +0100 (2011-03-04)
parents 8da46cc14f57
children d357d6dbbfa8
line diff
     1.1 --- a/uclibc-cross-compiler-sparc/receipt	Sat Aug 14 14:20:45 2010 +0200
     1.2 +++ b/uclibc-cross-compiler-sparc/receipt	Fri Mar 04 08:55:47 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