wok-6.x view iptables/receipt @ rev 167
Typo and changed category for 2 pkgs
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Jan 28 23:10:38 2008 +0100 (2008-01-28) |
parents | 591f8f8aad15 |
children | cdac43c3f44f |
line source
1 # SliTaz package receipt.
3 PACKAGE="iptables"
4 VERSION="1.3.8"
5 CATEGORY="base-apps"
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 $fs/lib/iptables
32 # Sbin.
33 cp -a $_pkg/sbin/iptables* $fs/sbin
34 # Libs.
35 cp -a $_pkg/lib/iptables/libipt_standard.so $fs/lib/iptables
36 cp -a $_pkg/lib/iptables/libipt_conntrack.so $fs/lib/iptables
37 cp -a $_pkg/lib/iptables/libipt_tcp.so $fs/lib/iptables
38 cp -a $_pkg/lib/iptables/libipt_udp.so $fs/lib/iptables
39 # Strip.
40 strip -s $fs/sbin/*
41 strip -s $fs/lib/iptables/*
42 }