wok diff compcache/receipt @ rev 7362

mirror-tools/mkcfg.sh: create direct pxe links
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 23 18:57:25 2010 +0100 (2010-11-23)
parents 2491e5bd11d6
children ec697b8b2555
line diff
     1.1 --- a/compcache/receipt	Thu Jul 22 23:03:19 2010 +0200
     1.2 +++ b/compcache/receipt	Tue Nov 23 18:57:25 2010 +0100
     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.