wok view httptunnel/receipt @ rev 24974

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 02 11:23:24 2022 +0000 (24 months ago)
parents 34e801e0eb52
children 00e3b45c063b
line source
1 # SliTaz package receipt.
3 PACKAGE="httptunnel"
4 VERSION="3.3"
5 CATEGORY="network"
6 SHORT_DESC="httptunnel creates a bidirectianal virtual data connection tunnelled in HTTP requests"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/larsbrinkhoff/httptunnel"
11 WGET_URL="$WEB_SITE/$TARBALL"
13 # What is the latest version available today?
14 current_version()
15 {
16 wget -O - $WEB_SITE/commits/master 2>/dev/null | \
17 sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
18 }
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 ./configure && make && make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $install/usr/bin $fs/usr
32 }