wok annotate tor-arm/receipt @ rev 24974

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 02 11:23:24 2022 +0000 (2022-05-02)
parents be2ab6ab8f7e
children 505d1daeed6c
rev   line source
pascal@11567 1 # SliTaz package receipt.
pascal@11567 2
pascal@11567 3 PACKAGE="tor-arm"
pascal@14855 4 VERSION="1.4.5.0"
pascal@11567 5 CATEGORY="network"
pascal@11567 6 SHORT_DESC="Terminal status monitor for Tor."
pascal@11567 7 MAINTAINER="paul@slitaz.org"
pascal@14855 8 LICENSE="GPL3"
pascal@11567 9 SOURCE="arm"
pascal@11567 10 TARBALL="$SOURCE-$VERSION.tar.bz2"
pascal@21031 11 WEB_SITE="https://nyx.torproject.org/"
pascal@11567 12 WGET_URL="http://www.atagar.com/arm/resources/static/$TARBALL"
pascal@11567 13
pascal@14855 14 DEPENDS="python"
pascal@14855 15 BUILD_DEPENDS="python python-dev"
pascal@14855 16
pascal@24304 17 # What is the latest version available today?
pascal@24304 18 current_version()
pascal@24304 19 {
pascal@24304 20 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24304 21 sed '/latest/!d;s|.*is <b>||;s|<.*||;q'
pascal@24304 22 }
pascal@24304 23
pascal@11567 24 # Rules to configure and make the package.
pascal@11567 25 compile_rules()
pascal@11567 26 {
pascal@11567 27 python setup.py build
pascal@14855 28 python setup.py install --root=$DESTDIR
pascal@11567 29 }
pascal@11567 30
pascal@11567 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11567 32 genpkg_rules()
pascal@11567 33 {
pascal@14855 34 cp -a $install/usr $fs
pascal@11567 35 # remove stuff
pascal@11567 36 rm -rf $fs/usr/share/man
pascal@11567 37 }