wok annotate pwnat/receipt @ rev 19563
linld: fix previous commit
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Dec 17 19:13:29 2016 +0100 (2016-12-17) |
parents | 1ae2567134a8 |
children | 89c8d8b6cf48 |
rev | line source |
---|---|
pascal@11562 | 1 # SliTaz package receipt. |
pascal@11562 | 2 |
pascal@11562 | 3 PACKAGE="pwnat" |
pascal@18827 | 4 GITHASH="1d07c2eb53171733831c0cd01e4e96a3204ec446" # 8/9/14 |
pascal@18827 | 5 VERSION=${GITHASH:0:7} |
pascal@11562 | 6 CATEGORY="network" |
pascal@11562 | 7 SHORT_DESC="NAT Traversal utility." |
pascal@11562 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15376 | 9 LICENSE="GPL3" |
pascal@18827 | 10 TARBALL="$PACKAGE-$VERSION.zip" |
pascal@11562 | 11 WEB_SITE="http://samy.pl/pwnat" |
pascal@18827 | 12 WGET_URL="https://github.com/samyk/pwnat/archive/$GITHASH.zip" |
pascal@19369 | 13 TAGS="vpn nat traversal icmp tunnel" |
pascal@11562 | 14 |
pascal@11562 | 15 # Rules to configure and make the package. |
pascal@11562 | 16 compile_rules() |
pascal@11562 | 17 { |
pascal@11562 | 18 make |
pascal@11562 | 19 } |
pascal@11562 | 20 |
pascal@11562 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11562 | 22 genpkg_rules() |
pascal@11562 | 23 { |
pascal@19369 | 24 mkdir -p $fs/usr/bin $install/usr/share/doc |
pascal@11562 | 25 cp -a $src/pwnat $fs/usr/bin |
pascal@19369 | 26 cp -a $src/README* $src/C* $install/usr/share/doc |
pascal@11562 | 27 } |