wok diff dahdi-linux/receipt @ rev 14382
Up: wpa_supplicant (1.11)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Mon Apr 22 23:05:52 2013 +0200 (2013-04-22) |
parents | 35e1381d79b6 |
children | 08901e2b9d77 |
line diff
1.1 --- a/dahdi-linux/receipt Mon Jan 14 23:42:27 2013 +0100 1.2 +++ b/dahdi-linux/receipt Mon Apr 22 23:05:52 2013 +0200 1.3 @@ -20,7 +20,13 @@ 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 - [ -d $WOK/linux/taz ] || tazwok cook linux 1.8 + if [ ! -d $WOK/linux/taz ]; then 1.9 + if [ -x /usr/bin/cook ]; then 1.10 + cook linux 1.11 + else 1.12 + tazwok cook linux 1.13 + fi 1.14 + fi 1.15 make KVERS=$kvers KSRC=$WOK/linux/source/$(ls $WOK/linux/taz) install 1.16 } 1.17