wok diff iptables/receipt @ rev 6

Add : iptables, libcap, pcre, ppp, sqlite
author Christophe Lincoln <pankso@slitaz.org>
date Thu Dec 13 15:13:49 2007 +0100 (2007-12-13)
parents
children 591f8f8aad15
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/iptables/receipt	Thu Dec 13 15:13:49 2007 +0100
     1.3 @@ -0,0 +1,42 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="iptables"
     1.7 +VERSION="1.3.7"
     1.8 +CATEGORY="base-apps"
     1.9 +SHORT_DESC="Packet filtering framework (Firewall)."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +DEPENDS="linux"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.13 +WEB_SITE="http://www.netfilter.org/"
    1.14 +WGET_URL="http://www.netfilter.org/projects/iptables/files/$TARBALL"
    1.15 +
    1.16 +# Set the right Kernel path to compile.
    1.17 +KERNEL_PATH="$WOK/linux/linux-2.6.22.9"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	cd $src
    1.23 +	make KERNEL_DIR=$KERNEL_PATH BINDIR=/sbin \
    1.24 +	LIBDIR=/lib MANDIR=/usr/share/man
    1.25 +	# Install in $PWD_pkg dir.
    1.26 +	make KERNEL_DIR=$KERNEL_PATH BINDIR=/sbin \
    1.27 +	LIBDIR=/lib MANDIR=/usr/share/man \
    1.28 +	DESTDIR=$PWD/_pkg install
    1.29 +}
    1.30 +
    1.31 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.32 +genpkg_rules()
    1.33 +{
    1.34 +	mkdir -p $fs/sbin $fs/lib/iptables
    1.35 +	# Sbin.
    1.36 +	cp -a $_pkg/sbin/iptables* $fs/sbin
    1.37 +	# Libs.
    1.38 +	cp -a $_pkg/lib/iptables/libipt_standard.so $fs/lib/iptables
    1.39 +	cp -a $_pkg/lib/iptables/libipt_conntrack.so $fs/lib/iptables
    1.40 +	cp -a $_pkg/lib/iptables/libipt_tcp.so $fs/lib/iptables
    1.41 +	cp -a $_pkg/lib/iptables/libipt_udp.so $fs/lib/iptables
    1.42 +	# Strip.
    1.43 +	strip -s $_fs/sbin/*
    1.44 +	strip -s $_fs/lib/iptables/*
    1.45 +}