wok view proxytunnel/receipt @ rev 25155

updated proxytunnel (1.9.0 -> 1.10)
author Hans-G?nter Theisgen
date Thu Jun 30 15:35:33 2022 +0100 (22 months ago)
parents 080c1dff8494
children 5db546345599
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 - https://sourceforge.net/projects/proxytunnel/files/proxytunnel%20source%20tarballs/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
22 sed '/scope="row/!d;s|.*/proxytunnel%20||;s|/.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
29 sed -i 's|/local||' Makefile
30 # skip documentation
31 patch --input=$stuff/patches/Makefile-$VERSION Makefile
33 make &&
34 make install DESTDIR=$DESTDIR
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cook_copy_folders bin
41 }