wok-next rev 21683

updated glances (1.5.1 -> 3.1.4.1)
author Hans-G?nter Theisgen
date Mon Jun 29 15:35:41 2020 +0100 (2020-06-29)
parents 705bcf5df8d8
children f615eab3599e
files glances/receipt
line diff
     1.1 --- a/glances/receipt	Mon Jun 29 15:15:42 2020 +0100
     1.2 +++ b/glances/receipt	Mon Jun 29 15:35:41 2020 +0100
     1.3 @@ -1,26 +1,30 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="glances"
     1.7 -VERSION="1.5.1"
     1.8 +VERSION="3.1.4.1"
     1.9  CATEGORY="utilities"
    1.10  SHORT_DESC="A CLI curses based monitoring tool for GNU/Linux and BSD OS"
    1.11  MAINTAINER="paul@slitaz.org"
    1.12  LICENSE="LGPL3"
    1.13  WEB_SITE="https://nicolargo.github.io/glances/"
    1.14  
    1.15 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.16 -WGET_URL="git|git://github.com/nicolargo/glances.git"
    1.17 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.18 +WGET_URL="https://github.com/nicolargo/$PACKAGE/archive/v$VERSION.tar.gz"
    1.19  
    1.20 -BUILD_DEPENDS="git bzip2 python-dev python-psutil"
    1.21 +BUILD_DEPENDS="python-dev python-psutil"
    1.22  
    1.23 -compile_rules() {
    1.24 +compile_rules()
    1.25 +{
    1.26  	python -B setup.py install --root=$install
    1.27  }
    1.28  
    1.29 -genpkg_rules() {
    1.30 -	cp -a $install/usr $fs
    1.31 +genpkg_rules()
    1.32 +{
    1.33 +	cp -a $install/usr	$fs
    1.34 +
    1.35  	# remove stuff
    1.36 -	rm -rf $fs/usr/share/man
    1.37 +	rm -rf			$fs/usr/share/man
    1.38 +
    1.39  	DEPENDS="python python-psutil"
    1.40  	SUGGESTED="python-jinja2"
    1.41  }