wok-6.x view pwnat/receipt @ rev 25391
updated usb-modeswitch-data (20170806 -> 20191128)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Aug 01 15:21:41 2022 +0100 (2022-08-01) |
parents | 90198f573d18 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="pwnat"
4 GITHASH="1d07c2eb53171733831c0cd01e4e96a3204ec446" # 8/9/14
5 VERSION=${GITHASH:0:7}
6 CATEGORY="network"
7 SHORT_DESC="NAT Traversal utility."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL3"
10 TARBALL="$PACKAGE-$VERSION.zip"
11 WEB_SITE="http://samy.pl/pwnat"
12 WGET_URL="https://github.com/samyk/pwnat/archive/$GITHASH.zip"
13 TAGS="vpn nat traversal icmp tunnel"
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - ${WGET_URL%/*/*}/commits/master 2>/dev/null | \
19 sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 make
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/bin $install/usr/share/doc
32 cp -a $src/pwnat $fs/usr/bin
33 cp -a $src/README* $src/C* $install/usr/share/doc
34 }