wok-next diff tor-arm/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 7390f8de9846
children
line diff
     1.1 --- a/tor-arm/receipt	Sat May 23 16:17:14 2015 +0300
     1.2 +++ b/tor-arm/receipt	Sat Nov 21 14:32:44 2020 +0100
     1.3 @@ -1,30 +1,24 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="tor-arm"
     1.8  VERSION="1.4.5.0"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="Terminal status monitor for Tor."
    1.11 +SHORT_DESC="Terminal status monitor for Tor"
    1.12  MAINTAINER="paul@slitaz.org"
    1.13  LICENSE="GPL3"
    1.14 -SOURCE="arm"
    1.15 -TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.16 -WEB_SITE="http://www.atagar.com/arm/download.php"
    1.17 -WGET_URL="http://www.atagar.com/arm/resources/static/$TARBALL"
    1.18 +WEB_SITE="https://nyx.torproject.org/"
    1.19  
    1.20 -DEPENDS="python"
    1.21 -BUILD_DEPENDS="python python-dev"
    1.22 +TARBALL="arm-$VERSION.tar.bz2"
    1.23 +WGET_URL="http://www.atagar.com/arm/resources/static/$TARBALL" # FIXME
    1.24  
    1.25 -# Rules to configure and make the package.
    1.26 -compile_rules()
    1.27 -{
    1.28 -	python setup.py build
    1.29 -	python setup.py install --root=$DESTDIR
    1.30 +BUILD_DEPENDS="python-dev"
    1.31 +
    1.32 +compile_rules() {
    1.33 +	python -B setup.py build &&
    1.34 +	python -B setup.py install --root=$install
    1.35  }
    1.36  
    1.37 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.38 -genpkg_rules()
    1.39 -{
    1.40 -	cp -a $install/usr $fs
    1.41 -	# remove stuff
    1.42 -	rm -rf $fs/usr/share/man
    1.43 +genpkg_rules() {
    1.44 +	copy @std
    1.45 +	DEPENDS="python"
    1.46  }