wok annotate pwnat/receipt @ rev 25286
updated rsnapshot (1.4.3 -> 1.4.4)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jul 18 17:11:03 2022 +0100 (2022-07-18) |
parents | 90198f573d18 |
children |
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@24476 | 15 # What is the latest version available today? |
pascal@24476 | 16 current_version() |
pascal@24476 | 17 { |
pascal@24476 | 18 wget -O - ${WGET_URL%/*/*}/commits/master 2>/dev/null | \ |
pascal@24476 | 19 sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' |
pascal@24476 | 20 } |
pascal@24476 | 21 |
pascal@11562 | 22 # Rules to configure and make the package. |
pascal@11562 | 23 compile_rules() |
pascal@11562 | 24 { |
pascal@11562 | 25 make |
pascal@11562 | 26 } |
pascal@11562 | 27 |
pascal@11562 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11562 | 29 genpkg_rules() |
pascal@11562 | 30 { |
pascal@19369 | 31 mkdir -p $fs/usr/bin $install/usr/share/doc |
pascal@11562 | 32 cp -a $src/pwnat $fs/usr/bin |
pascal@19369 | 33 cp -a $src/README* $src/C* $install/usr/share/doc |
pascal@11562 | 34 } |