wok rev 5442

asterisk: use bb/sed
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 05 10:47:45 2010 +0200 (2010-05-05)
parents 0bd72bea1ab9
children f73c1b076929
files asterisk/receipt
line diff
     1.1 --- a/asterisk/receipt	Wed May 05 10:28:19 2010 +0200
     1.2 +++ b/asterisk/receipt	Wed May 05 10:47:45 2010 +0200
     1.3 @@ -27,14 +27,15 @@
     1.4  compile_rules()
     1.5  {
     1.6  	cd $src
     1.7 -	sed -i 's/tar xof/tar xf/' sounds/Makefile
     1.8 -	sed -i '/LOG_ERROR, "The file/ {nd}' main/config.c
     1.9 -	sed -i 's/LOG_ERROR, "The file/LOG_WARNING, "The file/' main/config.c
    1.10 -	sed -i 's|lua5.1/||' pbx/pbx_lua.c
    1.11 -	sed -i 's/define AST_PBX_MAX_STACK.*/define AST_PBX_MAX_STACK 1024/' \
    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/' \
    1.15 +		main/config.c
    1.16 +	busybox sed -i 's|lua5.1/||' pbx/pbx_lua.c
    1.17 +	busybox sed -i 's/define AST_PBX_MAX_STACK.*/define AST_PBX_MAX_STACK 1024/' \
    1.18  		main/pbx.c
    1.19  	echo '' | contrib/scripts/get_ilbc_source.sh
    1.20 -	sed -i '/codec_ilbc/{ns/no/yes/}' menuselect-tree
    1.21 +	busybox sed -i '/codec_ilbc/{ns/no/yes/}' menuselect-tree
    1.22  	./configure \
    1.23  		--prefix=/usr \
    1.24  		--sysconfdir=/etc \