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

samba: remove some error triggers
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 24 09:45:53 2013 +0000 (2013-09-24)
parents d28da15a9c1f
children c0c7aa3e94a6
rev   line source
pankso@6 1 # SliTaz package receipt.
pankso@6 2
pankso@6 3 PACKAGE="iptables"
pankso@13505 4 VERSION="1.4.16.2"
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 {
pascal@12859 34 EXTRAVERSION=_${kvers%.*}
pankso@932 35 mkdir -p $fs/usr
pankso@13201 36 cp -a $install/usr/sbin $fs/sbin
pankso@13201 37 cp -a $install/usr/lib $fs/usr
pankso@6 38 }