wok-next diff dahdi-linux/receipt @ rev 17205
telepathy-glib: without gtk-doc (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Oct 09 14:27:44 2014 +0200 (2014-10-09) |
parents | 08901e2b9d77 |
children | c7e96859edc3 |
line diff
1.1 --- a/dahdi-linux/receipt Tue Aug 13 10:43:55 2013 +0000 1.2 +++ b/dahdi-linux/receipt Thu Oct 09 14:27:44 2014 +0200 1.3 @@ -21,13 +21,7 @@ 1.4 sed -i 's/tar -xof/tar -xf/' drivers/dahdi/firmware/Makefile 1.5 find -type f | xargs sed -i -e 's/DECLARE_MUTEX/DEFINE_SEMAPHORE/g' \ 1.6 -e 's/init_MUTEX\([^)]*\)/sema_init\1, 1/g' 1.7 - if [ ! -d $WOK/linux/taz ]; then 1.8 - if [ -x /usr/bin/cook ]; then 1.9 - cook linux 1.10 - else 1.11 - tazwok cook linux 1.12 - fi 1.13 - fi 1.14 + [ ! -d $WOK/linux/taz ] && cook linux 1.15 make KVERS=$kvers KSRC=$WOK/linux/source/$(ls $WOK/linux/taz) \ 1.16 install 2>&1 | grep -v 'slitaz/modules' 1.17 } 1.18 @@ -35,17 +29,18 @@ 1.19 # Rules to gen a SliTaz package suitable for Tazpkg. 1.20 genpkg_rules() 1.21 { 1.22 - EXTRAVERSION=_${kvers%.*} 1.23 + EXTRAVERSION=_${kvers} 1.24 cp -a $install/* $fs 1.25 + rm -rf $fs/usr/include 1.26 } 1.27 1.28 # Post install/remove commands for Tazpkg. 1.29 post_install() 1.30 { 1.31 - chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz 1.32 + chroot "$root/" depmod -a ${EXTRAVERSION#_}-slitaz 1.33 } 1.34 1.35 post_remove() 1.36 { 1.37 - chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz 1.38 + chroot "$root/" depmod -a ${EXTRAVERSION#_}-slitaz 1.39 }