wok-next diff dahdi-linux/receipt @ rev 13949

add python dnspython
author ernia <monghitri@aruba.it>
date Tue Jan 29 20:56:57 2013 +0000 (2013-01-29)
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	Tue Jan 29 20:56:57 2013 +0000
     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