wok-6.x annotate proxytunnel/receipt @ rev 24765
afpfs-ng,btfs,curlftpfs,ddumbfs,djmount,encfs,exfat-utils,fusecloop,fusedav,fuseiso,httpfs2-fuse: try fuse2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 18 17:45:47 2022 +0000 (2022-03-18) |
parents | 775714eeb4c8 |
children | 95f790022d55 |
rev | line source |
---|---|
pascal@17151 | 1 # SliTaz package receipt. |
pascal@17151 | 2 |
pascal@17151 | 3 PACKAGE="proxytunnel" |
pascal@17151 | 4 VERSION="1.9.0" |
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" |
pascal@17151 | 9 TARBALL="$PACKAGE-$VERSION.tgz" |
pascal@17151 | 10 WEB_SITE="http://proxytunnel.sourceforge.net/" |
pascal@17151 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@17151 | 12 |
pascal@17482 | 13 DEPENDS="libcrypto libssl gzip" |
pascal@17151 | 14 BUILD_DEPENDS="openssl-dev" |
pascal@17151 | 15 |
pascal@24396 | 16 # What is the latest version available today? |
pascal@24396 | 17 current_version() |
pascal@24396 | 18 { |
pascal@24396 | 19 wget -O - https://sourceforge.net/projects/proxytunnel/files/proxytunnel%20source%20tarballs/ 2>/dev/null | \ |
pascal@24396 | 20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24396 | 21 sed '/scope="row/!d;s|.*/proxytunnel%20||;s|/.*||;q' |
pascal@24396 | 22 } |
pascal@24396 | 23 |
pascal@17151 | 24 # Rules to configure and make the package. |
pascal@17151 | 25 compile_rules() |
pascal@17151 | 26 { |
pascal@19689 | 27 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries" |
pascal@17151 | 28 sed -i 's|/local||' Makefile |
pascal@17151 | 29 make && |
pascal@17151 | 30 make DESTDIR=$DESTDIR install |
pascal@17151 | 31 } |
pascal@17151 | 32 |
pascal@17151 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17151 | 34 genpkg_rules() |
pascal@17151 | 35 { |
pascal@17151 | 36 mkdir -p $fs/usr |
pascal@17151 | 37 cp -a $install/usr/bin $fs/usr |
pascal@17151 | 38 } |