wok-next annotate 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 |
rev | line source |
---|---|
al@19745 | 1 # SliTaz package receipt v2. |
pankso@6 | 2 |
pankso@6 | 3 PACKAGE="iptables" |
al@19745 | 4 VERSION="1.6.1" |
al@19745 | 5 EXTRAVERSION=_$kvers |
pankso@209 | 6 CATEGORY="security" |
al@19745 | 7 SHORT_DESC="Packet filtering framework (Firewall)" |
pankso@6 | 8 MAINTAINER="pankso@slitaz.org" |
pascal@15000 | 9 LICENSE="GPL2" |
al@19745 | 10 WEB_SITE="http://www.netfilter.org/projects/iptables/" |
al@19745 | 11 |
pankso@6 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@19745 | 13 WGET_URL="${WEB_SITE}files/$TARBALL" |
al@19745 | 14 TARBALL_SHA1="b2592490ca7a6c2cd0f069e167a4337c86acdf91" |
pankso@6 | 15 |
al@19745 | 16 BUILD_DEPENDS="linux-module-headers libmnl-dev libnftnl-dev" |
al@19745 | 17 SPLIT="iptables-dev" |
pascal@15000 | 18 |
pankso@6 | 19 # Rules to configure and make the package. |
pankso@6 | 20 compile_rules() |
pankso@6 | 21 { |
pascal@2141 | 22 # Set the right Kernel path to compile. |
slaxemulator@6873 | 23 KERNEL_PATH="/usr/src/linux" |
pankso@932 | 24 ./configure \ |
pankso@932 | 25 --libexecdir=/usr/lib/iptables \ |
pascal@2141 | 26 $CONFIGURE_ARGS && |
pankso@10672 | 27 make && make DESTDIR=$DESTDIR install |
pankso@6 | 28 } |
pankso@6 | 29 |
pankso@6 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@6 | 31 genpkg_rules() |
pankso@6 | 32 { |
al@19745 | 33 case $PACKAGE in |
al@19745 | 34 iptables) |
al@19745 | 35 copy @std |
al@19745 | 36 DEPENDS="linux-netfilter" |
al@19745 | 37 TAGS="firewall" |
al@19745 | 38 ;; |
al@19745 | 39 *-dev) |
al@19745 | 40 copy @dev |
al@19745 | 41 ;; |
al@19745 | 42 esac |
pankso@6 | 43 } |