wok-next view iptables/receipt @ rev 15494
Up: firefox-langpack-id (17.0.10esr)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Nov 17 16:29:57 2013 +0100 (2013-11-17) |
parents | d28da15a9c1f |
children | c0c7aa3e94a6 |
line source
1 # SliTaz package receipt.
3 PACKAGE="iptables"
4 VERSION="1.4.16.2"
5 CATEGORY="security"
6 SHORT_DESC="Packet filtering framework (Firewall)."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.netfilter.org/"
11 WGET_URL="http://www.netfilter.org/projects/iptables/files/$TARBALL"
12 TAGS="firewall"
14 DEPENDS="linux-netfilter"
15 BUILD_DEPENDS="linux-module-headers"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 # Set the right Kernel path to compile.
22 KERNEL_PATH="/usr/src/linux"
23 ./configure \
24 --prefix=/usr \
25 --libexecdir=/usr/lib/iptables \
26 --mandir=/usr/share/man \
27 $CONFIGURE_ARGS &&
28 make && make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 EXTRAVERSION=_${kvers%.*}
35 mkdir -p $fs/usr
36 cp -a $install/usr/sbin $fs/sbin
37 cp -a $install/usr/lib $fs/usr
38 }