wok-next annotate iptables/receipt @ rev 4938
add/improve TAGS i* receipts
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Tue Feb 16 14:37:58 2010 +0000 (2010-02-16) |
parents | 939e9b93ed08 |
children | a1f5e69cf335 |
rev | line source |
---|---|
pankso@6 | 1 # SliTaz package receipt. |
pankso@6 | 2 |
pankso@6 | 3 PACKAGE="iptables" |
pankso@4081 | 4 VERSION="1.4.5" |
pankso@209 | 5 CATEGORY="security" |
pankso@6 | 6 SHORT_DESC="Packet filtering framework (Firewall)." |
pankso@6 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@2158 | 8 DEPENDS="linux-netfilter" |
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 |
pankso@6 | 14 # Rules to configure and make the package. |
pankso@6 | 15 compile_rules() |
pankso@6 | 16 { |
pankso@6 | 17 cd $src |
pascal@2141 | 18 if [ ! -d $WOK/linux/taz ]; then |
pascal@2141 | 19 tazwok cook linux |
pascal@2141 | 20 fi |
pascal@2141 | 21 # Set the right Kernel path to compile. |
pankso@3604 | 22 KERNEL_PATH="$WOK/linux/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 && |
pascal@2141 | 28 make && |
pankso@932 | 29 make DESTDIR=$PWD/_pkg install |
pankso@6 | 30 } |
pankso@6 | 31 |
pankso@6 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@6 | 33 genpkg_rules() |
pankso@6 | 34 { |
pascal@3610 | 35 EXTRAVERSION="_`grep ^VERSION= $WOK/linux/receipt | cut -d '\"' -f 2`" |
pankso@932 | 36 mkdir -p $fs/usr |
pankso@932 | 37 cp -a $_pkg/usr/sbin $fs/sbin |
pankso@932 | 38 cp -a $_pkg/usr/lib $fs/usr |
pankso@6 | 39 } |