wok-6.x diff fuse/receipt @ rev 1717

Up tazpkg (2.5.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Nov 17 17:59:08 2008 +0000 (2008-11-17)
parents f686472ad1af
children 5ef268e13ebb
line diff
     1.1 --- a/fuse/receipt	Thu Oct 02 20:52:06 2008 +0000
     1.2 +++ b/fuse/receipt	Mon Nov 17 17:59:08 2008 +0000
     1.3 @@ -5,7 +5,6 @@
     1.4  CATEGORY="system-tools"
     1.5  SHORT_DESC="Fuse Filsystem in user space."
     1.6  MAINTAINER="pankso@slitaz.org"
     1.7 -BUILD_DEPENDS="linux-source"
     1.8  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.9  WEB_SITE="http://fuse.sourceforge.net/"
    1.10  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.11 @@ -14,8 +13,12 @@
    1.12  compile_rules()
    1.13  {
    1.14  	cd $src
    1.15 +	if [ ! -d $WOK/linux/taz ]; then
    1.16 +		tazwok cook linux
    1.17 +	fi
    1.18  	./configure --prefix=/usr --infodir=/usr/share/info \
    1.19 -	--with-kernel=/usr/src/linux --mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.20 +	--with-kernel=$(ls -d $WOK/linux/linux-*/) --mandir=/usr/share/man \
    1.21 +	$CONFIGURE_ARGS &&
    1.22  	make &&
    1.23  	make DESTDIR=$PWD/_pkg install
    1.24  }