wok-6.x rev 1629
bristuff: fix compile.sh for asterisk
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Oct 23 20:29:00 2008 +0000 (2008-10-23) |
parents | 1a142d2dd64e |
children | 2310a0b08eb3 |
files | bristuff/receipt |
line diff
1.1 --- a/bristuff/receipt Thu Oct 23 20:26:05 2008 +0000 1.2 +++ b/bristuff/receipt Thu Oct 23 20:29:00 2008 +0000 1.3 @@ -13,8 +13,9 @@ 1.4 curl-dev newt-dev libusb-dev sqlite-dev alsa-lib-dev fxload speex-dev \ 1.5 iksemel-dev mysql-dev glibc-dev spandsp-dev tiff-dev radiusclient-ng-dev \ 1.6 mysql libmysqlclient cmake postgresql postgresql-dev libpostgresqlclient \ 1.7 -libtool unixODBC-dev libunixODBC" 1.8 -DEPENDS="asterisk asterisk-sound zaptel mISDNuser" 1.9 +libtool unixODBC-dev libunixODBC nbs nbs-dev mISDNuser-dev mISDNuser \ 1.10 +gnutls-dev" 1.11 +DEPENDS="asterisk asterisk-sound zaptel nbs mISDNuser" 1.12 1.13 #TODO: net-snmp(-dev) vpb-driver(-dev) 1.14 #Asterisk: libopenh323-dev (Not so nice addon), libsnmp-dev (Asterisk 1.4) 1.15 @@ -60,16 +61,14 @@ 1.16 tar xjf agx-ast-addons-$ADD_VER.tar.bz2 1.17 for i in CMakeLists.u bristuff.u; do 1.18 [ -f done.$i ] && continue 1.19 + echo "Apply $i..." 1.20 patch -p0 < ../stuff/$i || return 1 1.21 touch done.$i 1.22 done 1.23 chmod +x apply-patches.sh 1.24 sh ./download.sh 1.25 - for i in sounds.u; do 1.26 - [ -f done.$i ] && continue 1.27 - patch -p0 < ../stuff/$i || return 1 1.28 - touch done.$i 1.29 - done 1.30 + echo "Apply sounds.u..." 1.31 + patch -p0 < ../stuff/sounds.u || return 1 1.32 ln -s . zaptel/zaptel 1.33 ln -s . zaptel/linux 1.34 mkdir -p _pkg/etc/init.d _pkg/usr/include/zaptel 1.35 @@ -77,6 +76,7 @@ 1.36 grep -rsl "uname -r" . | xargs sed -i -e "s/uname -r/echo $KVERS/g" 1.37 touch done.uname 1.38 export BRISTUFF_ZAP_PARAMS="KBUILD_NOPEDANTIC=1" 1.39 + sed -i 's/^NO_H323=.*/NO_H323="--with-gsm=internal --without-pwlib --without-h323"/' ./compile.sh 1.40 sh ./compile.sh -d $(cd _pkg; pwd) -i 1.41 cp asterisk/configs/* _pkg/etc/asterisk/ 1.42 cd agx-ast-addons