wok-current view iptables/receipt @ rev 6451

Up: libxslt, libxslt-dev to 1.1.26.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Sep 28 15:05:34 2010 +0000 (2010-09-28)
parents a1f5e69cf335
children 4742a035ef9b
line source
1 # SliTaz package receipt.
3 PACKAGE="iptables"
4 VERSION="1.4.9.1"
5 CATEGORY="security"
6 SHORT_DESC="Packet filtering framework (Firewall)."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="linux-netfilter"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.netfilter.org/"
11 WGET_URL="http://www.netfilter.org/projects/iptables/files/$TARBALL"
12 TAGS="firewall"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 if [ ! -d $WOK/linux/taz ]; then
19 tazwok cook linux
20 fi
21 # Set the right Kernel path to compile.
22 KERNEL_PATH="$WOK/linux/linux-*"
23 ./configure \
24 --prefix=/usr \
25 --libexecdir=/usr/lib/iptables \
26 --mandir=/usr/share/man \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$PWD/_pkg install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 EXTRAVERSION="_`grep ^VERSION= $WOK/linux/receipt | cut -d '\"' -f 2`"
36 mkdir -p $fs/usr
37 cp -a $_pkg/usr/sbin $fs/sbin
38 cp -a $_pkg/usr/lib $fs/usr
39 }