wok-6.x rev 12858
Up dahdi-linux (2.6.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 24 18:20:42 2012 +0200 (2012-05-24) |
parents | b8b9d97e8958 |
children | b9368eac086f |
files | asterisk/receipt dahdi-linux-dev/receipt dahdi-linux/receipt |
line diff
1.1 --- a/asterisk/receipt Thu May 24 14:21:48 2012 +0200 1.2 +++ b/asterisk/receipt Thu May 24 18:20:42 2012 +0200 1.3 @@ -35,7 +35,7 @@ 1.4 [ -s $SOURCES_REPOSITORY/rfc3951.txt ] || 1.5 wget -P $SOURCES_REPOSITORY http://www.ietf.org/rfc/rfc3951.txt 1.6 cp $SOURCES_REPOSITORY/rfc3951.txt codecs/ilbc || 1.7 - cp $stuff/rfc3951.txt 1.8 + cp $stuff/rfc3951.txt codecs/ilbc 1.9 [ -f codecs/ilbc/iLBC_define.h ] || ( cd codecs/ilbc && 1.10 awk -f $stuff/extract-cfile.awk rfc3951.txt > /dev/null ) 1.11 busybox sed -i '/codec_ilbc/{ns/no/yes/}' menuselect-tree
2.1 --- a/dahdi-linux-dev/receipt Thu May 24 14:21:48 2012 +0200 2.2 +++ b/dahdi-linux-dev/receipt Thu May 24 18:20:42 2012 +0200 2.3 @@ -1,7 +1,7 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="dahdi-linux-dev" 2.7 -VERSION="2.4.0" 2.8 +VERSION="2.6.1" 2.9 CATEGORY="development" 2.10 SHORT_DESC="Digium Asterisk Hardware Device Interface: kernel modules dev files." 2.11 MAINTAINER="pascal.bellard@slitaz.org"
3.1 --- a/dahdi-linux/receipt Thu May 24 14:21:48 2012 +0200 3.2 +++ b/dahdi-linux/receipt Thu May 24 18:20:42 2012 +0200 3.3 @@ -1,7 +1,7 @@ 3.4 # SliTaz package receipt. 3.5 3.6 PACKAGE="dahdi-linux" 3.7 -VERSION="2.4.0" 3.8 +VERSION="2.6.1" 3.9 CATEGORY="network" 3.10 SHORT_DESC="Digium Asterisk Hardware Device Interface: kernel modules." 3.11 MAINTAINER="pascal.bellard@slitaz.org" 3.12 @@ -15,26 +15,28 @@ 3.13 compile_rules() 3.14 { 3.15 cd $src 3.16 + sed -i 's|/sbin/depmod|echo &|' Makefile 3.17 sed -i 's/tar -xof/tar -xf/' drivers/dahdi/firmware/Makefile 3.18 find -type f | xargs sed -i -e 's/DECLARE_MUTEX/DEFINE_SEMAPHORE/g' \ 3.19 -e 's/init_MUTEX\([^)]*\)/sema_init\1, 1/g' 3.20 [ -d $WOK/linux/taz ] || tazwok cook linux 3.21 - make KSRC=$WOK/linux/$(ls $WOK/linux/taz) install 3.22 + make KVERS=$kvers KSRC=$WOK/linux/source/$(ls $WOK/linux/taz) install 3.23 } 3.24 3.25 # Rules to gen a SliTaz package suitable for Tazpkg. 3.26 genpkg_rules() 3.27 { 3.28 + EXTRAVERSION=_${kvers} 3.29 cp -a $_pkg/* $fs 3.30 } 3.31 3.32 # Post install/remove commands for Tazpkg. 3.33 post_install() 3.34 { 3.35 - chroot "$1/" depmod -a 3.36 + chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz 3.37 } 3.38 3.39 post_remove() 3.40 { 3.41 - depmod -a 3.42 + chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz 3.43 }