wok-current diff nvidia/receipt @ rev 2036
Add: pngcrush (1.6.13)
author | Fabrice THIROUX <mimas@slitaz.org> |
---|---|
date | Sat Jan 10 20:35:13 2009 +0100 (2009-01-10) |
parents | 46784c9b72e7 |
children | c1610baa4cf4 |
line diff
1.1 --- a/nvidia/receipt Wed Dec 10 23:57:23 2008 -0800 1.2 +++ b/nvidia/receipt Sat Jan 10 20:35:13 2009 +0100 1.3 @@ -2,7 +2,6 @@ 1.4 1.5 PACKAGE="nvidia" 1.6 VERSION="177.82" 1.7 -KERNEL_VERSION="2.6.25.5-slitaz" 1.8 CATEGORY="non-free" 1.9 SHORT_DESC="NVIDIA X.org kernel driver." 1.10 MAINTAINER="b1+slitaz@nagel.org" 1.11 @@ -41,6 +40,8 @@ 1.12 # Rules to gen a SliTaz package suitable for Tazpkg. 1.13 genpkg_rules() 1.14 { 1.15 + KERNEL_VERSION=$(grep "kernel version" ../linux/linux-*/.config) 1.16 + KERNEL_VERSION=${KERNEL_VERSION##* }-slitaz 1.17 mkdir -p $fs/lib/modules/$KERNEL_VERSION/kernel/drivers/video 1.18 install -m644 $src/usr/src/nv/nvidia.ko $fs/lib/modules/$KERNEL_VERSION/kernel/drivers/video/ 1.19 mkdir -p $fs/usr/share/doc/nvidia 1.20 @@ -50,10 +51,10 @@ 1.21 # Post install/remove commands for Tazpkg. 1.22 post_install() 1.23 { 1.24 - depmod -a -b "$1/" $KERNEL_VERSION 1.25 + depmod -a -b "$1/" ${EXTRAVERSION#_}-slitaz 1.26 } 1.27 1.28 post_remove() 1.29 { 1.30 - depmod -a $KERNEL_VERSION 1.31 + depmod -a ${EXTRAVERSION#_}-slitaz 1.32 }