wok view httptunnel/receipt @ rev 25322
cpige: remove -static
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jul 22 07:58:08 2022 +0000 (2022-07-22) |
parents | e1e1678c5265 |
children | a66f312c374b |
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="https://ftpmirror.gnu.org/httptunnel/$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 }