wok annotate proxytunnel/receipt @ rev 25239

updated python-six (1.14.0 -> 1.16.0)
author Hans-G?nter Theisgen
date Thu Jul 14 06:22:37 2022 +0100 (2022-07-14)
parents 080c1dff8494
children 5db546345599
rev   line source
pascal@17151 1 # SliTaz package receipt.
pascal@17151 2
pascal@17151 3 PACKAGE="proxytunnel"
Hans-G?nter@25155 4 VERSION="1.10"
pascal@17151 5 CATEGORY="network"
pascal@17151 6 SHORT_DESC="Connecting outside through HTTP(S) proxies."
pascal@17151 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@17151 8 LICENSE="GPL2"
Hans-G?nter@25155 9 WEB_SITE="https://github.com/proxytunnel/proxytunnel/"
Hans-G?nter@25155 10
pascal@17151 11 TARBALL="$PACKAGE-$VERSION.tgz"
Hans-G?nter@25155 12 WGET_URL="${WEB_SITE}archive/refs/tags/v$VERSION.20210604.tar.gz"
pascal@17151 13
Hans-G?nter@25155 14 DEPENDS="gzip libcrypto libssl"
Hans-G?nter@25155 15 BUILD_DEPENDS="ntlmaps openssl-dev"
pascal@17151 16
pascal@24396 17 # What is the latest version available today?
pascal@24396 18 current_version()
pascal@24396 19 {
pascal@24396 20 wget -O - https://sourceforge.net/projects/proxytunnel/files/proxytunnel%20source%20tarballs/ 2>/dev/null | \
pascal@24396 21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24396 22 sed '/scope="row/!d;s|.*/proxytunnel%20||;s|/.*||;q'
pascal@24396 23 }
pascal@24396 24
pascal@17151 25 # Rules to configure and make the package.
pascal@17151 26 compile_rules()
pascal@17151 27 {
pascal@19689 28 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
pascal@17151 29 sed -i 's|/local||' Makefile
Hans-G?nter@25155 30 # skip documentation
Hans-G?nter@25155 31 patch --input=$stuff/patches/Makefile-$VERSION Makefile
Hans-G?nter@25155 32
pascal@17151 33 make &&
Hans-G?nter@25155 34 make install DESTDIR=$DESTDIR
pascal@17151 35 }
pascal@17151 36
pascal@17151 37 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17151 38 genpkg_rules()
pascal@17151 39 {
Hans-G?nter@25155 40 cook_copy_folders bin
pascal@17151 41 }