wok rev 6743

Added linux-modules-headers as a build depend to ndiswrapper-driver.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Oct 17 01:49:18 2010 +0000 (2010-10-17)
parents 48cc90d1faad
children 6b5b70397945
files ndiswrapper-driver/receipt
line diff
     1.1 --- a/ndiswrapper-driver/receipt	Sun Oct 17 01:38:26 2010 +0000
     1.2 +++ b/ndiswrapper-driver/receipt	Sun Oct 17 01:49:18 2010 +0000
     1.3 @@ -6,7 +6,7 @@
     1.4  SHORT_DESC="Add Windows network drivers support to Linux kernel."
     1.5  MAINTAINER="erjo@slitaz.org"
     1.6  DEPENDS="linux lzma"
     1.7 -BUILD_DEPENDS="slitaz-toolchain"
     1.8 +BUILD_DEPENDS="slitaz-toolchain linux-module-headers"
     1.9  SOURCE="ndiswrapper"
    1.10  TARBALL="$SOURCE-$VERSION.tar.gz"
    1.11  WEB_SITE="http://ndiswrapper.sourceforge.net/joomla/"
    1.12 @@ -18,11 +18,8 @@
    1.13  {
    1.14  	
    1.15  	KERNEL_VERSION=`grep  ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'`
    1.16 -	if [ ! -d $WOK/linux/linux-$KERNEL_VERSION ]; then
    1.17 -		tazwok cook linux
    1.18 -	fi
    1.19  	cd $src
    1.20 -	make  KBUILD=$WOK/linux/linux-$KERNEL_VERSION KVER=$KERNEL_VERSION 
    1.21 +	make KBUILD=/usr/src/linux KVER=linux-$KERNEL_VERSION-slitaz
    1.22  }
    1.23  
    1.24  # Rules to gen a SliTaz package suitable for Tazpkg.