system/glances: Updated for version 2.2.1.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Philip Lacroix 2014-12-27 20:59:34 +07:00 committed by Robby Workman
parent d573df69fc
commit 9280cb6c75
3 changed files with 16 additions and 9 deletions

View file

@ -11,10 +11,10 @@ This tool is written in Python and uses the psutil library to fetch the
statistical values from key elements, like CPU, load average, memory,
network, disks, file systems, processes, etc.
Optional dependencies are hddtemp (for HHD temperature monitoring support)
and python3. Others not available on SBo are bottle (for Web server mode),
py3sensors (for HW monitoring support) and batinfo (for battery monitoring
support).
Optional dependencies are hddtemp (HHD temperature monitoring support),
pysnmp (SNMP support), matplotlib, netifaces and python3. Others not
available on SBo are bottle (Web server mode), py3sensors (HW monitoring
support), batinfo (battery monitoring support) and zeroconf.
NOTE: when launching Glances in a terminal with a bright background, the
option '--theme-white' is recommended.

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=glances
VERSION=${VERSION:-2.1.2}
VERSION=${VERSION:-2.2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -46,7 +46,14 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/v$VERSION.tar.gz
# The tarball will be named differently, depending on the file being downloaded
# manually or with wget.
if [ -e $CWD/v$VERSION.tar.gz ]; then
tar xvf $CWD/v$VERSION.tar.gz
else
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
fi
cd $PRGNAM-$VERSION
chown -R root:root .

View file

@ -1,8 +1,8 @@
PRGNAM="glances"
VERSION="2.1.2"
VERSION="2.2.1"
HOMEPAGE="https://github.com/nicolargo/glances"
DOWNLOAD="https://github.com/nicolargo/glances/archive/v2.1.2.tar.gz"
MD5SUM="a666c5e2de15af8a10faa3e6e08286d9"
DOWNLOAD="https://github.com/nicolargo/glances/archive/v2.2.1.tar.gz"
MD5SUM="d5f0b8e38662f64a538485a65cc50755"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="psutil pysetuptools"