wok annotate proxychains-ng/receipt @ rev 24072
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 07 17:56:16 2021 +0000 (2021-07-07) |
parents | dcdfcafe039a |
children | e0a3faa23c7b |
rev | line source |
---|---|
pascal@17394 | 1 # SliTaz package receipt. |
pascal@17394 | 2 |
pascal@17394 | 3 PACKAGE="proxychains-ng" |
Hans-G?nter@21716 | 4 VERSION="4.14" |
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@24055 | 16 current_version() |
pascal@24055 | 17 { |
pascal@24055 | 18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 19 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 20 } |
pascal@24055 | 21 |
pascal@17394 | 22 # Rules to configure and make the package. |
pascal@17394 | 23 compile_rules() |
pascal@17394 | 24 { |
Hans-G?nter@21716 | 25 ./configure \ |
Hans-G?nter@21716 | 26 --prefix=/usr \ |
Hans-G?nter@21716 | 27 --sysconfdir=/etc \ |
pascal@17394 | 28 $CONFIGURE_ARGS && |
pascal@17394 | 29 make && |
pascal@17394 | 30 make DESTDIR=$DESTDIR install && |
pascal@17394 | 31 make DESTDIR=$DESTDIR install-config |
pascal@17394 | 32 } |
pascal@17394 | 33 |
pascal@17394 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17394 | 35 genpkg_rules() |
pascal@17394 | 36 { |
pascal@17394 | 37 cp -a $install/usr $fs |
pascal@17394 | 38 } |