wok-next diff ipkungfu/receipt @ rev 20634
oxine: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 27 12:51:30 2018 +0200 (2018-04-27) |
parents | b094b6937e7a |
children | a3c581bf52b8 |
line diff
1.1 --- a/ipkungfu/receipt Wed Dec 09 21:59:42 2015 +0100 1.2 +++ b/ipkungfu/receipt Fri Apr 27 12:51:30 2018 +0200 1.3 @@ -1,34 +1,25 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="ipkungfu" 1.8 VERSION="0.6.1" 1.9 CATEGORY="network" 1.10 -SHORT_DESC="Iptables-based Linux firewall." 1.11 +SHORT_DESC="Iptables-based Linux firewall" 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="GPL2" 1.14 +WEB_SITE="http://www.linuxkungfu.org/" 1.15 + 1.16 TARBALL="${PACKAGE}_$VERSION.orig.tar.gz" 1.17 -WEB_SITE="http://www.linuxkungfu.org/" 1.18 WGET_URL="http://http.debian.net/debian/pool/main/i/$PACKAGE/$TARBALL" 1.19 1.20 -DEPENDS="iptables bash" 1.21 BUILD_DEPENDS="iptables" 1.22 1.23 -# Rules to configure and make the package. 1.24 -compile_rules() 1.25 -{ 1.26 - ./configure --prefix=/usr \ 1.27 - --sysconfdir=/etc \ 1.28 - --mandir=/usr/share/man \ 1.29 - $CONFIGURE_ARGS && 1.30 +compile_rules() { 1.31 + ./configure $CONFIGURE_ARGS && 1.32 make && 1.33 - make -j 1 DESTDIR=$DESTDIR install 1.34 + make -j1 DESTDIR=$DESTDIR install 1.35 } 1.36 1.37 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.38 -genpkg_rules() 1.39 -{ 1.40 - mkdir -p $fs/usr/share 1.41 - cp -a $install/usr/sbin $fs/usr 1.42 - cp -a $install/usr/share/ipkungfu $fs/usr/share 1.43 - cp -a $install/etc $fs 1.44 +genpkg_rules() { 1.45 + copy @std 1.46 + DEPENDS="iptables bash" 1.47 }