wok-stable diff dahdi-linux/receipt @ rev 12403

bozohttpd, cherokee, hiawatha, nginx: add PROVIDE (from cooking wok)
author Stanislas Leduc <stanislas.leduc@balinor.net>
date Thu Aug 22 08:57:32 2013 +0200 (2013-08-22)
parents 531d46ddb333
children
line diff
     1.1 --- a/dahdi-linux/receipt	Fri Mar 04 13:34:20 2011 +0100
     1.2 +++ b/dahdi-linux/receipt	Thu Aug 22 08:57:32 2013 +0200
     1.3 @@ -19,22 +19,23 @@
     1.4  	find -type f | xargs sed -i -e 's/DECLARE_MUTEX/DEFINE_SEMAPHORE/g' \
     1.5  		-e 's/init_MUTEX\([^)]*\)/sema_init\1, 1/g'
     1.6  	[ -d $WOK/linux/taz ] || tazwok cook linux
     1.7 -	make KSRC=$WOK/linux/$(ls $WOK/linux/taz) install
     1.8 +	make KSRC=$WOK/linux/source/$(ls $WOK/linux/taz) install
     1.9  }
    1.10  
    1.11  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.12  genpkg_rules()
    1.13  {
    1.14 +	EXTRAVERSION=_${kvers}
    1.15  	cp -a $_pkg/* $fs
    1.16  }
    1.17  
    1.18  # Post install/remove commands for Tazpkg.
    1.19  post_install()
    1.20  {
    1.21 -	chroot "$1/" depmod -a
    1.22 +	chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz
    1.23  }
    1.24  
    1.25  post_remove()
    1.26  {
    1.27 -	depmod -a
    1.28 +	chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz
    1.29  }