wok-current view proxytunnel/receipt @ rev 25590
Update cacerts, up elfutils url, fix pkg-config, py3k rebuild, and xorg build with gcc 6
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Aug 24 14:03:59 2023 +0000 (16 months ago) |
parents | 080c1dff8494 |
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 - 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 }