SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "proxytunnel"

# SliTaz package receipt.

PACKAGE="proxytunnel"
VERSION="1.10"
CATEGORY="network"
SHORT_DESC="Connecting outside through HTTP(S) proxies."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://github.com/proxytunnel/proxytunnel/"

TARBALL="$PACKAGE-$VERSION.tgz"
WGET_URL="${WEB_SITE}archive/refs/tags/v$VERSION.20210604.tar.gz"

DEPENDS="gzip libcrypto libssl"
BUILD_DEPENDS="ntlmaps openssl-dev"

# What is the latest version available today?
current_version()
{
    wget -O - https://sourceforge.net/projects/proxytunnel/files/proxytunnel%20source%20tarballs/ 2>/dev/null | \
    sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    sed '/scope="row/!d;s|.*/proxytunnel%20||;s|/.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
    sed -i 's|/local||' Makefile
    # skip documentation
    patch    --input=$stuff/patches/Makefile-$VERSION    Makefile

    make &&
    make install DESTDIR=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.   
genpkg_rules()                                      
{
    cook_copy_folders    bin
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)