wok-stable annotate iptables/receipt @ rev 10090
patch: Add $CONFIGURE_ARGS.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri May 20 07:16:53 2011 +0000 (2011-05-20) |
parents | 4742a035ef9b |
children | 65d54154cd5d |
rev | line source |
---|---|
pankso@6 | 1 # SliTaz package receipt. |
pankso@6 | 2 |
pankso@6 | 3 PACKAGE="iptables" |
slaxemulator@7006 | 4 VERSION="1.4.10" |
pankso@209 | 5 CATEGORY="security" |
pankso@6 | 6 SHORT_DESC="Packet filtering framework (Firewall)." |
pankso@6 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@2158 | 8 DEPENDS="linux-netfilter" |
slaxemulator@6873 | 9 BUILD_DEPENDS="linux-module-headers" |
pankso@6 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@6 | 11 WEB_SITE="http://www.netfilter.org/" |
pankso@6 | 12 WGET_URL="http://www.netfilter.org/projects/iptables/files/$TARBALL" |
jozee@4938 | 13 TAGS="firewall" |
pankso@6 | 14 |
pankso@6 | 15 # Rules to configure and make the package. |
pankso@6 | 16 compile_rules() |
pankso@6 | 17 { |
pankso@6 | 18 cd $src |
slaxemulator@6873 | 19 |
pascal@2141 | 20 # Set the right Kernel path to compile. |
slaxemulator@6873 | 21 KERNEL_PATH="/usr/src/linux" |
pankso@932 | 22 ./configure \ |
pankso@932 | 23 --prefix=/usr \ |
pankso@932 | 24 --libexecdir=/usr/lib/iptables \ |
pankso@932 | 25 --mandir=/usr/share/man \ |
pascal@2141 | 26 $CONFIGURE_ARGS && |
pascal@2141 | 27 make && |
pankso@932 | 28 make DESTDIR=$PWD/_pkg install |
pankso@6 | 29 } |
pankso@6 | 30 |
pankso@6 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@6 | 32 genpkg_rules() |
pankso@6 | 33 { |
pascal@3610 | 34 EXTRAVERSION="_`grep ^VERSION= $WOK/linux/receipt | cut -d '\"' -f 2`" |
pankso@932 | 35 mkdir -p $fs/usr |
pankso@932 | 36 cp -a $_pkg/usr/sbin $fs/sbin |
pankso@932 | 37 cp -a $_pkg/usr/lib $fs/usr |
pankso@6 | 38 } |