wok diff asterisk/receipt @ rev 10942

asterisk: store ilbc sources in src cache
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 29 18:16:24 2011 +0200 (2011-08-29)
parents 9d1bc27242eb
children a18a8903a08d
line diff
     1.1 --- a/asterisk/receipt	Mon Aug 29 16:41:35 2011 +0200
     1.2 +++ b/asterisk/receipt	Mon Aug 29 18:16:24 2011 +0200
     1.3 @@ -32,8 +32,11 @@
     1.4  	busybox sed -i 's|lua5.1/||' pbx/pbx_lua.c
     1.5  	grep -rsl '^#define AST_PBX_MAX_STACK' * | xargs busybox sed -i \
     1.6  		's/define AST_PBX_MAX_STACK.*/define AST_PBX_MAX_STACK 1024/'
     1.7 -	sed -i 's/| sed .*>/>/' contrib/scripts/get_ilbc_source.sh
     1.8 -	echo '' | contrib/scripts/get_ilbc_source.sh
     1.9 +	[ -s $SOURCES_REPOSITORY/rfc3951.txt ] ||
    1.10 +		wget -P $SOURCES_REPOSITORY http://www.ietf.org/rfc/rfc3951.txt
    1.11 +	cp $SOURCES_REPOSITORY/rfc3951.txt codecs/ilbc
    1.12 +	[ -f codecs/ilbc/iLBC_define.h ] ||
    1.13 +		(cd codecs/ilbc && awk -f $stuff/extract-cfile.awk rfc3951.txt)
    1.14  	busybox sed -i '/codec_ilbc/{ns/no/yes/}' menuselect-tree
    1.15  	./configure \
    1.16  		--prefix=/usr \
    1.17 @@ -57,7 +60,7 @@
    1.18  	cp -a $_pkg/usr/bin $fs/usr
    1.19  	cp -a $_pkg/usr/lib $fs/usr
    1.20  	cp -a $_pkg/usr/sbin $fs/usr
    1.21 -	cp -a $stuff/* $fs
    1.22 +	cp -a $stuff/*/ $fs
    1.23  }
    1.24  
    1.25  # Rules to configure package