wok view glances/receipt @ rev 24924
Add as & asxxxx
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 13 10:27:34 2022 +0000 (2022-04-13) |
parents | 5ea0ce1cecc0 |
children | 20ad21d5532c |
line source
1 # SliTaz package receipt.
3 PACKAGE="glances"
4 VERSION="3.1.3"
5 CATEGORY="utilities"
6 SHORT_DESC="A CLI curses based monitoring tool for GNU/Linux and BSD OS."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="LGPL3"
9 WEB_SITE="https://nicolargo.github.io/glances/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/nicolargo/$PACKAGE/archive/v$VERSION.tar.gz"
14 SUGGESTED="python-jinja2"
15 DEPENDS="python python-psutil"
16 BUILD_DEPENDS="python-dev python-psutil python-setuptools"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 python setup.py install --root=$DESTDIR
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/usr $fs
35 # remove stuff
36 rm -rf $fs/usr/share/man
37 }