wok-next diff pwnat/receipt @ rev 20655
Up boxbackup (0.12)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 04 14:33:10 2018 +0300 (2018-05-04) |
parents | 90198f573d18 |
children | d5aab818505e |
line diff
1.1 --- a/pwnat/receipt Tue Aug 09 11:03:52 2016 +0200 1.2 +++ b/pwnat/receipt Fri May 04 14:33:10 2018 +0300 1.3 @@ -1,27 +1,26 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="pwnat" 1.8 GITHASH="1d07c2eb53171733831c0cd01e4e96a3204ec446" # 8/9/14 1.9 VERSION=${GITHASH:0:7} 1.10 CATEGORY="network" 1.11 -SHORT_DESC="NAT Traversal utility." 1.12 +SHORT_DESC="NAT Traversal utility" 1.13 MAINTAINER="pascal.bellard@slitaz.org" 1.14 LICENSE="GPL3" 1.15 +WEB_SITE="http://samy.pl/pwnat" 1.16 + 1.17 TARBALL="$PACKAGE-$VERSION.zip" 1.18 -WEB_SITE="http://samy.pl/pwnat" 1.19 WGET_URL="https://github.com/samyk/pwnat/archive/$GITHASH.zip" 1.20 -TAGS="vpn nat traversal icmp tunnel" 1.21 1.22 -# Rules to configure and make the package. 1.23 -compile_rules() 1.24 -{ 1.25 - make 1.26 +compile_rules() { 1.27 + make || return 1 1.28 + 1.29 + install -Dm 755 $src/pwnat $install/usr/bin/pwnat 1.30 + 1.31 + cook_pick_docs README* C* 1.32 } 1.33 1.34 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.35 -genpkg_rules() 1.36 -{ 1.37 - mkdir -p $fs/usr/bin $install/usr/share/doc 1.38 - cp -a $src/pwnat $fs/usr/bin 1.39 - cp -a $src/README* $src/C* $install/usr/share/doc 1.40 +genpkg_rules() { 1.41 + copy @std 1.42 + TAGS="vpn nat traversal icmp tunnel" 1.43 }