wok-6.x rev 13877

asterisk: use $ARCH
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 15 11:06:23 2013 +0100 (2013-01-15)
parents 8e274ecbc77a
children 8437ad3ae814
files asterisk/receipt
line diff
     1.1 --- a/asterisk/receipt	Tue Jan 15 11:02:42 2013 +0100
     1.2 +++ b/asterisk/receipt	Tue Jan 15 11:06:23 2013 +0100
     1.3 @@ -29,9 +29,9 @@
     1.4  {
     1.5  	cd $src
     1.6  	find * -name config.guess -o -name configure | xargs \
     1.7 -		sed -i 's/(uname -m)/(echo i486)/'
     1.8 +		sed -i "s/(uname -m)/(echo $ARCH)/"
     1.9  	find * -name Makefile | xargs \
    1.10 -		sed -i 's/(shell uname -m)/(shell echo i486)/'
    1.11 +		sed -i "s/(shell uname -m)/(shell echo $ARCH)/"
    1.12  	busybox sed -i 's/tar xof/tar xf/' sounds/Makefile
    1.13  	busybox sed -i '/LOG_ERROR, "The file/ {nd}' main/config.c
    1.14  	busybox sed -i 's/LOG_ERROR, "The file/LOG_WARNING, "The file/' \