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

Various fix: darkstat gettext glibc iptables keepassx nscd openerp-server
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 29 11:24:32 2009 +0200 (2009-06-29)
parents 90ba3f41867b
children 939e9b93ed08
line source
1 # SliTaz package receipt.
3 PACKAGE="iptables"
4 VERSION="1.4.4"
5 CATEGORY="security"
6 SHORT_DESC="Packet filtering framework (Firewall)."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="linux-netfilter"
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 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 if [ ! -d $WOK/linux/taz ]; then
18 tazwok cook linux
19 fi
20 # Set the right Kernel path to compile.
21 KERNEL_PATH="$WOK/linux/linux-*"
22 ./configure \
23 --prefix=/usr \
24 --libexecdir=/usr/lib/iptables \
25 --mandir=/usr/share/man \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$PWD/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 EXTRAVERSION="_`grep ^VERSION= $WOK/linux/receipt | cut -d '\"' -f 2`"
35 mkdir -p $fs/usr
36 cp -a $_pkg/usr/sbin $fs/sbin
37 cp -a $_pkg/usr/lib $fs/usr
38 }