wok annotate proxychains-ng/receipt @ rev 25691

Up lynis (3.1.1), ncurses-examples (20211021)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 16 10:43:04 2024 +0000 (8 weeks ago)
parents e0a3faa23c7b
children
rev   line source
pascal@17394 1 # SliTaz package receipt.
pascal@17394 2
pascal@17394 3 PACKAGE="proxychains-ng"
Hans-G?nter@25154 4 VERSION="4.16"
pascal@17394 5 CATEGORY="network"
pascal@17394 6 SHORT_DESC="Forces any tcp connection made by a client to follow through proxy."
pascal@17394 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@17394 8 LICENSE="GPL2"
Hans-G?nter@21716 9 WEB_SITE="https://github.com/rofl0r/proxychains-ng"
Hans-G?nter@21716 10
pascal@17394 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@17394 12 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
Hans-G?nter@21716 13
pascal@17394 14 CONFIG_FILES="/etc/proxychains.conf"
pascal@17394 15
pascal@25601 16 # What is the latest version available today?
pascal@24055 17 current_version()
pascal@24055 18 {
pascal@24055 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@25601 20 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
pascal@24055 21 }
pascal@24055 22
pascal@17394 23 # Rules to configure and make the package.
pascal@17394 24 compile_rules()
pascal@17394 25 {
Hans-G?nter@21716 26 ./configure \
Hans-G?nter@21716 27 --prefix=/usr \
Hans-G?nter@21716 28 --sysconfdir=/etc \
pascal@17394 29 $CONFIGURE_ARGS &&
pascal@17394 30 make &&
Hans-G?nter@25154 31 make install DESTDIR=$DESTDIR &&
Hans-G?nter@25154 32 make install-config DESTDIR=$DESTDIR
pascal@17394 33 }
pascal@17394 34
pascal@17394 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17394 36 genpkg_rules()
pascal@17394 37 {
Hans-G?nter@25154 38 cp -a $install/usr $fs
pascal@17394 39 }