wok-next view iptables/receipt @ rev 19988

Add qt5 - now it's look good enough
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Oct 20 03:29:40 2017 +0300 (2017-10-20)
parents acbbbf3f4e52
children d247e85339a4
line source
1 # SliTaz package receipt v2.
3 PACKAGE="iptables"
4 VERSION="1.6.1"
5 EXTRAVERSION=_$kvers
6 CATEGORY="security"
7 SHORT_DESC="Packet filtering framework (Firewall)"
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="http://www.netfilter.org/projects/iptables/"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="${WEB_SITE}files/$TARBALL"
14 TARBALL_SHA1="b2592490ca7a6c2cd0f069e167a4337c86acdf91"
16 BUILD_DEPENDS="linux-module-headers libmnl-dev libnftnl-dev"
17 SPLIT="iptables-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 # Set the right Kernel path to compile.
23 KERNEL_PATH="/usr/src/linux"
24 ./configure \
25 --libexecdir=/usr/lib/iptables \
26 $CONFIGURE_ARGS &&
27 make && make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 case $PACKAGE in
34 iptables)
35 copy @std
36 DEPENDS="linux-netfilter"
37 TAGS="firewall"
38 ;;
39 *-dev)
40 copy @dev
41 ;;
42 esac
43 }