wok view iptables/receipt @ 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 d1f8fd6f6efe
children fee531f1e85e
line source
1 # SliTaz package receipt.
3 PACKAGE="iptables"
4 VERSION="1.4.4"
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 EXTRAVERSION="_`grep ^VERSION= $WOK/linux/receipt | cut -d '\"' -f 2`"
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 mkdir -p $fs/usr
36 cp -a $_pkg/usr/sbin $fs/sbin
37 cp -a $_pkg/usr/lib $fs/usr
38 }