wok-next annotate iptables/receipt @ rev 1452
squashfs kqemu; fix kernel wok path
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 03 13:57:14 2008 +0000 (2008-10-03) |
parents | 1aa56671fcd2 |
children | 7072d5ba9317 |
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@932 | 20 ./configure \ |
pankso@932 | 21 --prefix=/usr \ |
pankso@932 | 22 --libexecdir=/usr/lib/iptables \ |
pankso@932 | 23 --mandir=/usr/share/man \ |
pankso@932 | 24 $CONFIGURE_ARGS |
pankso@932 | 25 make |
pankso@932 | 26 make DESTDIR=$PWD/_pkg install |
pankso@6 | 27 } |
pankso@6 | 28 |
pankso@6 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@6 | 30 genpkg_rules() |
pankso@6 | 31 { |
pankso@932 | 32 mkdir -p $fs/usr |
pankso@932 | 33 cp -a $_pkg/usr/sbin $fs/sbin |
pankso@932 | 34 cp -a $_pkg/usr/lib $fs/usr |
pankso@6 | 35 } |