# HG changeset patch # User Christopher Rogers # Date 1287280158 0 # Node ID 8e7e58a7afbdc321619c6ee1ad4ab87813c9fe5f # Parent 48cc90d1faade94b3d2477322b6f06d1f659ad4d Added linux-modules-headers as a build depend to ndiswrapper-driver. diff -r 48cc90d1faad -r 8e7e58a7afbd ndiswrapper-driver/receipt --- a/ndiswrapper-driver/receipt Sun Oct 17 01:38:26 2010 +0000 +++ b/ndiswrapper-driver/receipt Sun Oct 17 01:49:18 2010 +0000 @@ -6,7 +6,7 @@ SHORT_DESC="Add Windows network drivers support to Linux kernel." MAINTAINER="erjo@slitaz.org" DEPENDS="linux lzma" -BUILD_DEPENDS="slitaz-toolchain" +BUILD_DEPENDS="slitaz-toolchain linux-module-headers" SOURCE="ndiswrapper" TARBALL="$SOURCE-$VERSION.tar.gz" WEB_SITE="http://ndiswrapper.sourceforge.net/joomla/" @@ -18,11 +18,8 @@ { KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'` - if [ ! -d $WOK/linux/linux-$KERNEL_VERSION ]; then - tazwok cook linux - fi cd $src - make KBUILD=$WOK/linux/linux-$KERNEL_VERSION KVER=$KERNEL_VERSION + make KBUILD=/usr/src/linux KVER=linux-$KERNEL_VERSION-slitaz } # Rules to gen a SliTaz package suitable for Tazpkg.