wok-current diff nvidia/receipt @ rev 3369
zim: Renamed package Zim --> zim
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Jun 11 23:58:16 2009 +0200 (2009-06-11) |
parents | f306d126580e |
children |
line diff
1.1 --- a/nvidia/receipt Thu May 07 09:37:08 2009 +0200 1.2 +++ b/nvidia/receipt Thu Jun 11 23:58:16 2009 +0200 1.3 @@ -33,8 +33,14 @@ 1.4 mv "NVIDIA-Linux-x86-$VERSION-pkg0" "$PACKAGE-$VERSION" 1.5 fi 1.6 cd $src/usr/src/nv 1.7 + if [ ! -d $WOK/linux/taz ]; then 1.8 + tazwok cook linux 1.9 + fi 1.10 + kver=$(ls $WOK/linux/taz); kver=${kver#*-} 1.11 + sed -i "s/uname -r/echo $kver/g" ?akefile* conftest.sh 1.12 + sed -i "s| /lib/modules| $WOK/linux/linux-$kver/lib/modules|" ?akefile* 1.13 [ ! -f Makefile ] && ln -s Makefile.kbuild Makefile 1.14 - make SYSSRC=$(ls -d $WOK/linux/linux-*/) module 1.15 + make SYSSRC=$(ls -d $WOK/linux/linux-$kver/) module 1.16 } 1.17 1.18 # Rules to gen a SliTaz package suitable for Tazpkg.