wok-next view iptables/receipt @ rev 11398
Compat: squirrelmail trigger cook of squirrelmail-* only when using cookutils - I don't think this piece of code is needed at all as squirrel-* will be cooked anyway if one update them
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sat Dec 10 13:19:00 2011 +0100 (2011-12-10) |
parents | 65d54154cd5d |
children | 9d2b7651adf4 |
line source
1 # SliTaz package receipt.
3 PACKAGE="iptables"
4 VERSION="1.4.10"
5 CATEGORY="security"
6 SHORT_DESC="Packet filtering framework (Firewall)."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="linux-netfilter"
9 BUILD_DEPENDS="linux-module-headers"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.netfilter.org/"
12 WGET_URL="http://www.netfilter.org/projects/iptables/files/$TARBALL"
13 TAGS="firewall"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 # Set the right Kernel path to compile.
20 KERNEL_PATH="/usr/src/linux"
21 ./configure \
22 --prefix=/usr \
23 --libexecdir=/usr/lib/iptables \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make && make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 EXTRAVERSION=_${kvers}
33 mkdir -p $fs/usr
34 cp -a $_pkg/usr/sbin $fs/sbin
35 cp -a $_pkg/usr/lib $fs/usr
36 }