wok view proxytunnel/receipt @ rev 25527
created recipes for libmpack and libmpack-dev 1.0.5
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 25 07:28:19 2023 +0100 (21 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 }