# HG changeset patch # User Christopher Rogers # Date 1289071332 0 # Node ID d6292cae5538b3548c21908005346d4204350b29 # Parent e948f11f23d466399d4438a7dcbc3d468c493f9c Made compcache to use linux-modules-headers. This way linux in wok doesn't need to be compiled. diff -r e948f11f23d4 -r d6292cae5538 compcache/receipt --- a/compcache/receipt Sat Nov 06 19:00:11 2010 +0000 +++ b/compcache/receipt Sat Nov 06 19:22:12 2010 +0000 @@ -9,24 +9,21 @@ WEB_SITE="http://code.google.com/p/compcache/" WGET_URL="http://compcache.googlecode.com/files/$TARBALL" DEPENDS="linux" -BUILD_DEPENDS="lzma" +BUILD_DEPENDS="lzma linux-module-headers" # Rules to configure and make the package. compile_rules() { 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 # Fix build with kernel 2.6.34 patch -p1 < ../stuff/compcache-0.6.2-linux-2.6.34.u || exit 1 find -name Makefile | xargs sed -i \ - "s|/lib/modules/\$(shell uname -r)/build|$WOK/linux/linux-$KERNEL_VERSION|" - make KBUILD=$WOK/linux/linux-$KERNEL_VERSION KVER=$KERNEL_VERSION + "s|/lib/modules/\$(shell uname -r)/build|/usr/src/linux|" + make KBUILD=/usr/src/linux KVER=$KERNEL_VERSION } # Rules to gen a SliTaz package suitable for Tazpkg.