wok annotate iptables/receipt @ rev 775

lxpanel + sliaz-tools: use/declare 'desktop calendar'
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 12 14:55:40 2008 +0200 (2008-05-12)
parents d6b1113794bc
children 1aa56671fcd2
rev   line source
pankso@6 1 # SliTaz package receipt.
pankso@6 2
pankso@6 3 PACKAGE="iptables"
pankso@340 4 VERSION="1.4.0"
pankso@209 5 CATEGORY="security"
pankso@6 6 SHORT_DESC="Packet filtering framework (Firewall)."
pankso@6 7 MAINTAINER="pankso@slitaz.org"
pankso@6 8 DEPENDS="linux"
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"
pankso@6 12
pankso@6 13 # Set the right Kernel path to compile.
pankso@525 14 KERNEL_PATH="$WOK/linux/linux-2.6.24.2"
pankso@6 15
pankso@6 16 # Rules to configure and make the package.
pankso@6 17 compile_rules()
pankso@6 18 {
pankso@6 19 cd $src
pankso@6 20 make KERNEL_DIR=$KERNEL_PATH BINDIR=/sbin \
pankso@6 21 LIBDIR=/lib MANDIR=/usr/share/man
pankso@6 22 # Install in $PWD_pkg dir.
pankso@6 23 make KERNEL_DIR=$KERNEL_PATH BINDIR=/sbin \
pankso@6 24 LIBDIR=/lib MANDIR=/usr/share/man \
pankso@6 25 DESTDIR=$PWD/_pkg install
pankso@6 26 }
pankso@6 27
pankso@6 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@6 29 genpkg_rules()
pankso@6 30 {
pankso@340 31 mkdir -p $fs/sbin
pankso@6 32 # Sbin.
pankso@6 33 cp -a $_pkg/sbin/iptables* $fs/sbin
pankso@6 34 # Libs.
pankso@340 35 cp -a $_pkg/lib $fs
pankso@6 36 }