wok-current view iptables/receipt @ rev 6055

slim: Upgrade to 1.3.2
author Matthew Sheets <rcx@zoominternet.net>
date Thu Aug 19 20:55:56 2010 +0000 (2010-08-19)
parents faa4c6e9600b
children 2dc1efbb8f14
line source
1 # SliTaz package receipt.
3 PACKAGE="iptables"
4 VERSION="1.4.7"
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 }