wok diff bristuff/receipt @ rev 1567
bristuff: fix zconfig.h
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 13 20:29:52 2008 +0000 (2008-10-13) |
parents | d659eda8a095 |
children | ec591a67c200 |
line diff
1.1 --- a/bristuff/receipt Mon Aug 04 13:34:35 2008 +0000 1.2 +++ b/bristuff/receipt Mon Oct 13 20:29:52 2008 +0000 1.3 @@ -58,15 +58,24 @@ 1.4 # cd asterisk-addons 1.5 # patch -p0 < chan_mobile-1.4.x.patch 1.6 tar xjf agx-ast-addons-$ADD_VER.tar.bz2 1.7 - patch -p0 < ../stuff/CMakeLists.u || return 1 1.8 - patch -p0 < ../stuff/bristuff.u || return 1 1.9 + for i in CMakeLists.u bristuff.u; do 1.10 + [ -f done.$i ] && continue 1.11 + patch -p0 < ../stuff/$i || return 1 1.12 + touch done.$i 1.13 + done 1.14 chmod +x apply-patches.sh 1.15 sh ./download.sh 1.16 - patch -p0 < ../stuff/sounds.u || return 1 1.17 + for i in sounds.u; do 1.18 + [ -f done.$i ] && continue 1.19 + patch -p0 < ../stuff/$i || return 1 1.20 + touch done.$i 1.21 + done 1.22 ln -s . zaptel/zaptel 1.23 ln -s . zaptel/linux 1.24 mkdir -p _pkg/etc/init.d _pkg/usr/include/zaptel 1.25 + [ -f done.uname ] || 1.26 grep -rsl "uname -r" . | xargs sed -i -e "s/uname -r/echo $KVERS/g" 1.27 + touch done.uname 1.28 export BRISTUFF_ZAP_PARAMS="KBUILD_NOPEDANTIC=1" 1.29 sh ./compile.sh -d $(cd _pkg; pwd) -i 1.30 cp asterisk/configs/* _pkg/etc/asterisk/