wok view iptables/receipt @ rev 21759

mosh: use gcc83
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 26 19:12:58 2019 +0200 (2019-06-26)
parents db5b03f42dd9
children c0a400c412be
line source
1 # SliTaz package receipt.
3 PACKAGE="iptables"
4 VERSION="1.4.21"
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 }