wok diff dahdi-linux/receipt @ rev 14239

libgee: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 22 15:13:49 2013 +0100 (2013-03-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	Fri Mar 22 15:13:49 2013 +0100
     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