wok-6.x rev 7153
Made compcache to use linux-modules-headers. This way linux in wok doesn't need to be compiled.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Nov 06 19:22:12 2010 +0000 (2010-11-06) |
parents | e948f11f23d4 |
children | ed5aeadc5ff6 |
files | compcache/receipt |
line diff
1.1 --- a/compcache/receipt Sat Nov 06 19:00:11 2010 +0000 1.2 +++ b/compcache/receipt Sat Nov 06 19:22:12 2010 +0000 1.3 @@ -9,24 +9,21 @@ 1.4 WEB_SITE="http://code.google.com/p/compcache/" 1.5 WGET_URL="http://compcache.googlecode.com/files/$TARBALL" 1.6 DEPENDS="linux" 1.7 -BUILD_DEPENDS="lzma" 1.8 +BUILD_DEPENDS="lzma linux-module-headers" 1.9 1.10 # Rules to configure and make the package. 1.11 compile_rules() 1.12 { 1.13 1.14 KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'` 1.15 - if [ ! -d $WOK/linux/linux-$KERNEL_VERSION ]; then 1.16 - tazwok cook linux 1.17 - fi 1.18 cd $src 1.19 1.20 # Fix build with kernel 2.6.34 1.21 patch -p1 < ../stuff/compcache-0.6.2-linux-2.6.34.u || exit 1 1.22 1.23 find -name Makefile | xargs sed -i \ 1.24 - "s|/lib/modules/\$(shell uname -r)/build|$WOK/linux/linux-$KERNEL_VERSION|" 1.25 - make KBUILD=$WOK/linux/linux-$KERNEL_VERSION KVER=$KERNEL_VERSION 1.26 + "s|/lib/modules/\$(shell uname -r)/build|/usr/src/linux|" 1.27 + make KBUILD=/usr/src/linux KVER=$KERNEL_VERSION 1.28 } 1.29 1.30 # Rules to gen a SliTaz package suitable for Tazpkg.