wok-6.x rev 18683

Add ipkungfu
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Dec 09 21:51:05 2015 +0100 (2015-12-09)
parents ee335b59f430
children b094b6937e7a
files ipkungfu/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ipkungfu/receipt	Wed Dec 09 21:51:05 2015 +0100
     1.3 @@ -0,0 +1,34 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="ipkungfu"
     1.7 +VERSION="0.6.1"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="Iptables-based Linux firewall."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +TARBALL="${PACKAGE}_$VERSION.orig.tar.gz"
    1.13 +WEB_SITE="http://www.linuxkungfu.org/"
    1.14 +WGET_URL="http://http.debian.net/debian/pool/main/i/$PACKAGE/$TARBALL"
    1.15 +
    1.16 +DEPENDS="iptables bash"
    1.17 +BUILD_DEPENDS="iptables"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	./configure --prefix=/usr \
    1.23 +		--sysconfdir=/etc \
    1.24 +		--mandir=/usr/share/man \
    1.25 +		$CONFIGURE_ARGS &&
    1.26 +	make &&
    1.27 +	make -j 1 DESTDIR=$DESTDIR install
    1.28 +}
    1.29 +
    1.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 +genpkg_rules()
    1.32 +{
    1.33 +	mkdir -p $fs/usr
    1.34 +	cp -a $install/usr/sbin $fs/usr
    1.35 +	cp -a $install/usr/share $fs/usr
    1.36 +	cp -a $install/etc $fs
    1.37 +}