wok view httptunnel/receipt @ rev 24497

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 19 14:19:02 2022 +0000 (2022-02-19)
parents e3f377fbc5f0
children e1e1678c5265
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_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
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 }