wok view iptables/receipt @ rev 1627

syslinux: autologin
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 23 20:24:08 2008 +0000 (2008-10-23)
parents 1aa56671fcd2
children 7072d5ba9317
line source
1 # SliTaz package receipt.
3 PACKAGE="iptables"
4 VERSION="1.4.1.1"
5 CATEGORY="security"
6 SHORT_DESC="Packet filtering framework (Firewall)."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="linux"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.netfilter.org/"
11 WGET_URL="http://www.netfilter.org/projects/iptables/files/$TARBALL"
13 # Set the right Kernel path to compile.
14 KERNEL_PATH="$WOK/linux/linux-2.6.25.5"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --libexecdir=/usr/lib/iptables \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS
25 make
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $_pkg/usr/sbin $fs/sbin
34 cp -a $_pkg/usr/lib $fs/usr
35 }