wok-4.x view iptables/receipt @ rev 608
Up: udev (120) - Admin centralised in udevadm
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Apr 18 16:41:52 2008 +0200 (2008-04-18) |
parents | d6b1113794bc |
children | 1aa56671fcd2 |
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.24.2"
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 }