# HG changeset patch # User Christopher Rogers # Date 1287609350 0 # Node ID 4742a035ef9b53caa863f3440172f4e5f3d1dbbc # Parent 4d5019aba2d2e183abc07de00da5bf801008a1ea Added linux-module-headers to iptables build depends. diff -r 4d5019aba2d2 -r 4742a035ef9b iptables/receipt --- a/iptables/receipt Wed Oct 20 21:05:21 2010 +0000 +++ b/iptables/receipt Wed Oct 20 21:15:50 2010 +0000 @@ -6,6 +6,7 @@ SHORT_DESC="Packet filtering framework (Firewall)." MAINTAINER="pankso@slitaz.org" DEPENDS="linux-netfilter" +BUILD_DEPENDS="linux-module-headers" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://www.netfilter.org/" WGET_URL="http://www.netfilter.org/projects/iptables/files/$TARBALL" @@ -15,11 +16,9 @@ compile_rules() { cd $src - if [ ! -d $WOK/linux/taz ]; then - tazwok cook linux - fi + # Set the right Kernel path to compile. - KERNEL_PATH="$WOK/linux/linux-*" + KERNEL_PATH="/usr/src/linux" ./configure \ --prefix=/usr \ --libexecdir=/usr/lib/iptables \