wok view proxytunnel/receipt @ rev 25603
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 18 11:43:32 2023 +0000 (17 months ago) |
parents | 95f790022d55 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="proxytunnel"
4 VERSION="1.10"
5 CATEGORY="network"
6 SHORT_DESC="Connecting outside through HTTP(S) proxies."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/proxytunnel/proxytunnel/"
11 TARBALL="$PACKAGE-$VERSION.tgz"
12 WGET_URL="${WEB_SITE}archive/refs/tags/v$VERSION.20210604.tar.gz"
14 DEPENDS="gzip libcrypto libssl"
15 BUILD_DEPENDS="ntlmaps openssl-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
28 sed -i 's|/local||' Makefile
29 # skip documentation
30 patch --input=$stuff/patches/Makefile-$VERSION Makefile
32 make &&
33 make install DESTDIR=$DESTDIR
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cook_copy_folders bin
40 }