wok-current rev 13871
Up asterisk (1.11.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 14 22:11:22 2013 +0100 (2013-01-14) |
parents | 7f6e3ccc2f56 |
children | 35e1381d79b6 |
files | asterisk-dev/receipt asterisk/receipt |
line diff
1.1 --- a/asterisk-dev/receipt Mon Jan 14 21:59:36 2013 +0100 1.2 +++ b/asterisk-dev/receipt Mon Jan 14 22:11:22 2013 +0100 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="asterisk-dev" 1.7 -VERSION="1.6.2.7" 1.8 +VERSION="11.1.1" 1.9 CATEGORY="development" 1.10 SHORT_DESC="Open Source PBX and telephony toolkit development files." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 @@ -12,5 +12,5 @@ 1.13 genpkg_rules() 1.14 { 1.15 mkdir -p $fs/usr 1.16 - cp -a $_pkg/usr/include $fs/usr 1.17 + cp -a $install/usr/include $fs/usr 1.18 }
2.1 --- a/asterisk/receipt Mon Jan 14 21:59:36 2013 +0100 2.2 +++ b/asterisk/receipt Mon Jan 14 22:11:22 2013 +0100 2.3 @@ -1,7 +1,7 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="asterisk" 2.7 -VERSION="1.6.2.7" 2.8 +VERSION="11.1.1" 2.9 CATEGORY="misc" 2.10 SHORT_DESC="Open Source PBX and telephony toolkit." 2.11 MAINTAINER="pascal.bellard@slitaz.org" 2.12 @@ -25,6 +25,10 @@ 2.13 compile_rules() 2.14 { 2.15 cd $src 2.16 + find * -name config.guess -o -name configure | xargs \ 2.17 + sed -i 's/(uname -m)/(echo i486)/' 2.18 + find * -name Makefile | xargs \ 2.19 + sed -i 's/(shell uname -m)/(shell echo i486)/' 2.20 busybox sed -i 's/tar xof/tar xf/' sounds/Makefile 2.21 busybox sed -i '/LOG_ERROR, "The file/ {nd}' main/config.c 2.22 busybox sed -i 's/LOG_ERROR, "The file/LOG_WARNING, "The file/' \ 2.23 @@ -57,11 +61,11 @@ 2.24 genpkg_rules() 2.25 { 2.26 mkdir -p $fs/usr 2.27 - cp -a $_pkg/etc $fs 2.28 - cp -a $_pkg/var $fs 2.29 - cp -a $_pkg/usr/bin $fs/usr 2.30 - cp -a $_pkg/usr/lib $fs/usr 2.31 - cp -a $_pkg/usr/sbin $fs/usr 2.32 + cp -a $install/etc $fs 2.33 + cp -a $install/var $fs 2.34 + cp -a $install/usr/bin $fs/usr 2.35 + cp -a $install/usr/lib $fs/usr 2.36 + cp -a $install/usr/sbin $fs/usr 2.37 cp -a $stuff/*/ $fs 2.38 } 2.39