wok rev 3604

Up: iptables (1.4.4)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Jun 28 23:02:43 2009 +0200 (2009-06-28)
parents e96b5bb3b663
children baa5f0488bc8
files iptables/receipt
line diff
     1.1 --- a/iptables/receipt	Sun Jun 28 22:50:25 2009 +0200
     1.2 +++ b/iptables/receipt	Sun Jun 28 23:02:43 2009 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="iptables"
     1.7 -VERSION="1.4.1.1"
     1.8 +VERSION="1.4.4"
     1.9  CATEGORY="security"
    1.10  SHORT_DESC="Packet filtering framework (Firewall)."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 @@ -9,13 +9,7 @@
    1.13  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14  WEB_SITE="http://www.netfilter.org/"
    1.15  WGET_URL="http://www.netfilter.org/projects/iptables/files/$TARBALL"
    1.16 -
    1.17 -# Extract EXTRAVERSION from linux package
    1.18 -get_version()
    1.19 -{
    1.20 -	kver=$(grep "kernel version" $WOK/linux/$(ls $WOK/linux/taz)/.config)
    1.21 -	EXTRAVERSION=_${kver##* }
    1.22 -}
    1.23 +EXTRAVERSION="_`grep ^VERSION= $WOK/linux/receipt | cut -d '\"' -f 2`"
    1.24  
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27 @@ -25,7 +19,7 @@
    1.28  		tazwok cook linux
    1.29  	fi
    1.30  	# Set the right Kernel path to compile.
    1.31 -	KERNEL_PATH="$WOK/linux/$(ls $WOK/linux/taz)"
    1.32 +	KERNEL_PATH="$WOK/linux/linux-*"
    1.33  	./configure \
    1.34  		--prefix=/usr \
    1.35  		--libexecdir=/usr/lib/iptables \