wok view iptables/receipt @ rev 24084
libjson-c-dev: fix version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 10 13:06:31 2021 +0000 (2021-07-10) |
parents | 01e110cbf807 |
children | af8d823a3077 |
line source
1 # SliTaz package receipt.
3 PACKAGE="iptables"
4 VERSION="1.8.4"
5 CATEGORY="security"
6 TAGS="firewall"
7 SHORT_DESC="Packet filtering framework (Firewall)."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="http://www.netfilter.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="http://www.netfilter.org/projects/iptables/files/$TARBALL"
15 DEPENDS="linux-netfilter"
16 BUILD_DEPENDS="libmnl-dev linux-module-headers"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 # Set the right Kernel path to compile.
22 KERNEL_PATH="/usr/src/linux"
24 ./configure \
25 --prefix=/usr \
26 --libexecdir=/usr/lib/iptables \
27 --mandir=/usr/share/man \
28 --disable-nftables \
29 $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 EXTRAVERSION=_${kvers}
39 mkdir -p $fs/usr/lib
41 cp -a $install/usr/sbin $fs/usr
42 cp -a $install/usr/lib/lib* $fs/usr/lib
43 cp -a $install/usr/lib/xtables $fs/usr/lib
44 }