wok-current rev 910

kqemu: use EXTRAVERSION
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jun 15 19:02:07 2008 +0000 (2008-06-15)
parents db3faeb6da24
children 148faf0d0fce
files kqemu/receipt
line diff
     1.1 --- a/kqemu/receipt	Sun Jun 15 18:44:02 2008 +0000
     1.2 +++ b/kqemu/receipt	Sun Jun 15 19:02:07 2008 +0000
     1.3 @@ -33,13 +33,16 @@
     1.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     1.5  genpkg_rules()
     1.6  {
     1.7 +	local kver
     1.8 +	kver=$(grep "kernel version" ../linux/linux-*/.config)
     1.9 +	EXTRAVERSION=_${kver##* }
    1.10  	cp -a $_pkg/* $fs
    1.11  }
    1.12  
    1.13  # Post install/remove commands for Tazpkg.
    1.14  post_install()
    1.15  {
    1.16 -	depmod -a -b /$1
    1.17 +	depmod -a -b "$1/"
    1.18  }
    1.19  
    1.20  post_remove()