# HG changeset patch # User Christophe Lincoln # Date 1306484764 -7200 # Node ID 65d54154cd5d00089813438f8178feff06b678be # Parent 3aea2a4b129a004367da2957a998e1db3ad99ee8 iptables: user $kvers diff -r 3aea2a4b129a -r 65d54154cd5d iptables/receipt --- a/iptables/receipt Fri May 27 10:24:50 2011 +0200 +++ b/iptables/receipt Fri May 27 10:26:04 2011 +0200 @@ -16,7 +16,6 @@ compile_rules() { cd $src - # Set the right Kernel path to compile. KERNEL_PATH="/usr/src/linux" ./configure \ @@ -24,14 +23,13 @@ --libexecdir=/usr/lib/iptables \ --mandir=/usr/share/man \ $CONFIGURE_ARGS && - make && - make DESTDIR=$PWD/_pkg install + make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - EXTRAVERSION="_`grep ^VERSION= $WOK/linux/receipt | cut -d '\"' -f 2`" + EXTRAVERSION=_${$kvers} mkdir -p $fs/usr cp -a $_pkg/usr/sbin $fs/sbin cp -a $_pkg/usr/lib $fs/usr