wok-next view iptables/receipt @ rev 20432

Add liburcu
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 05 10:24:55 2018 +0100 (2018-02-05)
parents 9a17d981d0f7
children 0e7893ac206d
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 }