wok view tcpoverudp/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (24 months ago)
parents 4cc1294b46f0
children
line source
1 # SliTaz package receipt.
3 PACKAGE="tcpoverudp"
4 VERSION="20150601"
5 CATEGORY="network"
6 SHORT_DESC="Forward TCP connections over UDP without root."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL"
9 TARBALL="$PACKAGE"
10 WEB_SITE="https://www.jankratochvil.net/project/tcpoverudp/"
11 WGET_URL="http://git.jankratochvil.net/?p=tcpoverudp.git;a=blob_plain;f=tcpoverudp;hb=HEAD"
13 DEPENDS="perl"
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - 'https://git.jankratochvil.net/?p=tcpoverudp.git;a=history;f=tcpoverudp;hb=HEAD' 2>/dev/null | \
19 sed '/td title/!d;s|.*<i>||;s|</i.*||;s|-||g;q'
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/bin
26 cp -a $src/$PACKAGE $fs/usr/bin
27 chmod +x $fs/usr/bin/$PACKAGE
28 }