wok diff aufs-utils/receipt @ rev 4366

obmenu: fix depends
author Paul Issott <paul@slitaz.org>
date Sat Oct 10 23:10:20 2009 +0000 (2009-10-10)
parents a13008a385ae
children a870d7a5977e
line diff
     1.1 --- a/aufs-utils/receipt	Mon Sep 28 15:57:37 2009 +0200
     1.2 +++ b/aufs-utils/receipt	Sat Oct 10 23:10:20 2009 +0000
     1.3 @@ -14,8 +14,12 @@
     1.4  	[ -d "$PACKAGE-$VERSION" ] && rm -rf $PACKAGE-$VERSION
     1.5  	git clone http://git.c3sl.ufpr.br/pub/scm/aufs/aufs2-util.git \
     1.6  		$PACKAGE-$VERSION
     1.7 +	KERNEL_VERSION=`grep  ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'`
     1.8 +	if [ ! -d $WOK/linux/linux-$KERNEL_VERSION ]; then
     1.9 +        	tazwok cook linux
    1.10 +	fi
    1.11  	cd $src
    1.12 -	make && make DESTDIR=$PWD/_pkg install
    1.13 +	make KDIR=$WOK/linux/linux-$KERNEL_VERSION && make DESTDIR=$PWD/_pkg install
    1.14  }
    1.15  
    1.16  # Rules to gen a SliTaz package suitable for Tazpkg.