wok view pwnat/receipt @ rev 25672

Up minidlna (1.3.3), phpmyadmin (5.2.1), pidgin (2.14.13), redis (7.2.4), rsync (3.2.7), rust (1.76.0), screen (4.9.1), squashfs (4.6.1), squid (6.7), stunnel (5.72), tcpdump (4.99.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 26 14:07:44 2024 +0000 (10 months ago)
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 }