wok-current rev 7164
Added linux-module-headers as a build depend for linmodem-intel-536ep.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Nov 07 12:04:05 2010 +0000 (2010-11-07) |
parents | 559c48f2524f |
children | cf1a6b5e6a81 |
files | linmodem-intel-536ep/receipt |
line diff
1.1 --- a/linmodem-intel-536ep/receipt Sun Nov 07 16:40:05 2010 +0100 1.2 +++ b/linmodem-intel-536ep/receipt Sun Nov 07 12:04:05 2010 +0000 1.3 @@ -5,7 +5,7 @@ 1.4 CATEGORY="network" 1.5 MAINTAINER="jozee@slitaz.org" 1.6 SHORT_DESC="Intel Modem Drivers for 536EP chipset" 1.7 -BUILD_DEPENDS="linux lzma" 1.8 +BUILD_DEPENDS="linux linux-module-headers lzma" 1.9 WEB_SITE="http://linmodems.technion.ac.il/packages/Intel/" 1.10 TARBALL="intel-536EP-537EP_2009_07_04.tar.bz2" 1.11 WGET_URL="$WEB_SITE/Philippe.Vouters/$TARBALL" 1.12 @@ -16,7 +16,6 @@ 1.13 compile_rules() { 1.14 1.15 KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'` 1.16 - [ -d $WOK/linux/taz ] || tazwok cook linux 1.17 cd $WOK/$PACKAGE/intel-536-537 1.18 1.19 while read file; do 1.20 @@ -31,7 +30,7 @@ 1.21 # Bypass linux source package check 1.22 sed -i 's/@bash config_check/#@bash config_check/' makefile 1.23 grep -rl 'linux/autoconf.h' * | xargs sed -i 's|linux/autoconf.h|generated/autoconf.h|' 1.24 - make KERNEL_SOURCE_PATH=$WOK/linux/linux-$KERNEL_VERSION KDIR=$WOK/linux/linux-$KERNEL_VERSION MODEM_TYPE=536 536 1.25 + make KERNEL_SOURCE_PATH=/usr/src/linux KDIR=/usr/src/linux MODEM_TYPE=536 536 1.26 } 1.27 1.28 # Rules to gen a SliTaz package suitable for Tazpkg.