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

Up: iptables (1.4.1.1)
author Christophe Lincoln <pankso@slitaz.org>
date Thu Jun 19 11:52:34 2008 +0200 (2008-06-19)
parents 208837b71acc
children 26d477618246
rev   line source
pankso@6 1 # SliTaz package receipt.
pankso@6 2
pankso@6 3 PACKAGE="iptables"
pankso@929 4 VERSION="1.4.1.1"
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@929 14 KERNEL_PATH="$WOK/linux/linux-2.6.25.5"
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 }