wok-6.x view iptables/receipt @ rev 377

Slitaz-loram*: fix /etc/init.d/rcS perms
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 08 16:39:00 2008 +0100 (2008-03-08)
parents ccf126429a43
children 208837b71acc
line source
1 # SliTaz package receipt.
3 PACKAGE="iptables"
4 VERSION="1.4.0"
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.22.9"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 make KERNEL_DIR=$KERNEL_PATH BINDIR=/sbin \
21 LIBDIR=/lib MANDIR=/usr/share/man
22 # Install in $PWD_pkg dir.
23 make KERNEL_DIR=$KERNEL_PATH BINDIR=/sbin \
24 LIBDIR=/lib MANDIR=/usr/share/man \
25 DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/sbin
32 # Sbin.
33 cp -a $_pkg/sbin/iptables* $fs/sbin
34 # Libs.
35 cp -a $_pkg/lib $fs
36 }