wok-current rev 4615

asterisk: add ilbc, do not stop on missing includes
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 17 14:55:58 2009 +0100 (2009-12-17)
parents 5829c7d9b8cf
children fdab620cf6a3
files asterisk/receipt
line diff
     1.1 --- a/asterisk/receipt	Thu Dec 17 12:30:30 2009 +0100
     1.2 +++ b/asterisk/receipt	Thu Dec 17 14:55:58 2009 +0100
     1.3 @@ -13,7 +13,9 @@
     1.4  libmysqlclient libunixODBC popt dahdi libpri lua"
     1.5  BUILD_DEPENDS="libvorbis-dev curl-dev speex-dev alsa-lib-dev popt-dev \
     1.6  libpri-dev spandsp-dev lua-dev dahdi-dev postgresql-dev net-snmp-dev \
     1.7 -libsdl-dev"
     1.8 +libsdl-dev nbs-dev libogg-dev libogg speex spandsp iksemel iksemel-dev \
     1.9 +gmime gmime-dev openssl-dev openssl unixODBC-dev unixODBC \
    1.10 +openldap-dev openldap portaudio-dev portaudio"
    1.11  CONFIG_FILES="/etc/asterisk"
    1.12  
    1.13  # Rules to configure and make the package.
    1.14 @@ -23,7 +25,11 @@
    1.15  compile_rules()
    1.16  {
    1.17  	cd $src
    1.18 +	sed -i '/LOG_ERROR, "The file/ {nd}' main/config.c
    1.19 +	sed -i 's/LOG_ERROR, "The file/LOG_WARNING, "The file/' main/config.c
    1.20  	sed -i 's|lua5.1/||' pbx/pbx_lua.c
    1.21 +	echo '' | contrib/scripts/get_ilbc_source.sh
    1.22 +	sed -i '/codec_ilbc/{ns/no/yes/}' menuselect-tree
    1.23  	./configure \
    1.24  		--prefix=/usr \
    1.25  		--sysconfdir=/etc \