wok-current view ipkungfu/receipt @ rev 18877

Up slitaz-base-files(298), slitaz-boot-scripts(422)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Feb 08 10:29:19 2016 +0200 (2016-02-08)
parents f6561cd0e543
children 8dd8bab3f0ca
line source
1 # SliTaz package receipt.
3 PACKAGE="ipkungfu"
4 VERSION="0.6.1"
5 CATEGORY="network"
6 SHORT_DESC="Iptables-based Linux firewall."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="${PACKAGE}_$VERSION.orig.tar.gz"
10 WEB_SITE="http://www.linuxkungfu.org/"
11 WGET_URL="http://http.debian.net/debian/pool/main/i/$PACKAGE/$TARBALL"
13 DEPENDS="iptables bash"
14 BUILD_DEPENDS="iptables"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure --prefix=/usr \
20 --sysconfdir=/etc \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make &&
24 make -j 1 DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share
31 cp -a $install/usr/sbin $fs/usr
32 cp -a $install/usr/share/ipkungfu $fs/usr/share
33 cp -a $install/etc $fs
34 }