wok-6.x annotate iptables/receipt @ rev 18784

gtk+3: add 'slitaz-icon' to depends
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Jan 03 16:31:32 2016 +0200 (2016-01-03)
parents db5b03f42dd9
children c0a400c412be
rev   line source
pankso@6 1 # SliTaz package receipt.
pankso@6 2
pankso@6 3 PACKAGE="iptables"
pascal@17695 4 VERSION="1.4.21"
pankso@209 5 CATEGORY="security"
pankso@6 6 SHORT_DESC="Packet filtering framework (Firewall)."
pankso@6 7 MAINTAINER="pankso@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
pankso@6 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@6 10 WEB_SITE="http://www.netfilter.org/"
pankso@6 11 WGET_URL="http://www.netfilter.org/projects/iptables/files/$TARBALL"
jozee@4938 12 TAGS="firewall"
pankso@6 13
pascal@15000 14 DEPENDS="linux-netfilter"
pascal@15000 15 BUILD_DEPENDS="linux-module-headers"
pascal@15000 16
pankso@6 17 # Rules to configure and make the package.
pankso@6 18 compile_rules()
pankso@6 19 {
pankso@6 20 cd $src
pascal@2141 21 # Set the right Kernel path to compile.
slaxemulator@6873 22 KERNEL_PATH="/usr/src/linux"
pankso@932 23 ./configure \
pankso@932 24 --prefix=/usr \
pankso@932 25 --libexecdir=/usr/lib/iptables \
pankso@932 26 --mandir=/usr/share/man \
pascal@2141 27 $CONFIGURE_ARGS &&
pankso@10672 28 make && make DESTDIR=$DESTDIR install
pankso@6 29 }
pankso@6 30
pankso@6 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@6 32 genpkg_rules()
pankso@6 33 {
pankso@15855 34 EXTRAVERSION=_${kvers}
mojo@15669 35 mkdir -p $fs/usr/lib
mojo@15669 36 cp -a $install/usr/sbin $fs/usr
mojo@15669 37 cp -a $install/usr/lib/lib* $fs/usr/lib
mojo@15669 38 cp -a $install/usr/lib/xtables $fs/usr/lib
pankso@6 39 }