wok-next diff iotop/receipt @ rev 21306

updated httrack (3.45.4 -> 3.49.2)
author Hans-G?nter Theisgen
date Tue Dec 10 10:00:39 2019 +0100 (2019-12-10)
parents cbca1c858654
children
line diff
     1.1 --- a/iotop/receipt	Fri Feb 10 13:19:07 2017 +0100
     1.2 +++ b/iotop/receipt	Tue Dec 10 10:00:39 2019 +0100
     1.3 @@ -1,29 +1,24 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="iotop"
     1.8  VERSION="0.6"
     1.9  CATEGORY="system-tools"
    1.10 -SHORT_DESC="Show of behalf of which process is the I/O going on."
    1.11 +SHORT_DESC="Show of behalf of which process is the I/O going on"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 -WEB_SITE="http://guichaz.free.fr/iotop"
    1.15 +WEB_SITE="http://guichaz.free.fr/iotop/"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.18 -WGET_URL="$WEB_SITE/files/$TARBALL"
    1.19 +WGET_URL="${WEB_SITE}files/$TARBALL"
    1.20  
    1.21 -DEPENDS="python"
    1.22  BUILD_DEPENDS="python"
    1.23  
    1.24 -# Rules to configure and make the package.
    1.25 -compile_rules()
    1.26 -{
    1.27 -	python setup.py build
    1.28 -	python setup.py install --root=$DESTDIR
    1.29 +compile_rules() {
    1.30 +	python -B setup.py build &&
    1.31 +	python -B setup.py install --root=$install
    1.32  }
    1.33  
    1.34 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.35 -genpkg_rules()
    1.36 -{
    1.37 -	mkdir -p $fs/usr
    1.38 -	cp -a $install/usr/sbin $fs/usr
    1.39 -	cp -a $install/usr/lib $fs/usr
    1.40 +genpkg_rules() {
    1.41 +	copy @std
    1.42 +	DEPENDS="python"
    1.43  }