wok-next view iptables/receipt @ rev 16747

Up: bluefish (2.2.5)
author Alexander Medvedev <devl547@gmail.com>
date Sat Jun 14 19:43:22 2014 +0000 (2014-06-14)
parents c0c7aa3e94a6
children acbbbf3f4e52
line source
1 # SliTaz package receipt.
3 PACKAGE="iptables"
4 VERSION="1.4.16.2"
5 CATEGORY="security"
6 SHORT_DESC="Packet filtering framework (Firewall)."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.netfilter.org/"
11 WGET_URL="http://www.netfilter.org/projects/iptables/files/$TARBALL"
12 TAGS="firewall"
14 DEPENDS="linux-netfilter"
15 BUILD_DEPENDS="linux-module-headers"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 # Set the right Kernel path to compile.
22 KERNEL_PATH="/usr/src/linux"
23 ./configure \
24 --prefix=/usr \
25 --libexecdir=/usr/lib/iptables \
26 --mandir=/usr/share/man \
27 $CONFIGURE_ARGS &&
28 make && make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 EXTRAVERSION=_${kvers}
35 mkdir -p $fs/usr/lib
36 cp -a $install/usr/sbin $fs/usr
37 cp -a $install/usr/lib/lib* $fs/usr/lib
38 cp -a $install/usr/lib/xtables $fs/usr/lib
39 }