wok view glances/receipt @ rev 25599

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 16 13:38:12 2023 +0000 (10 months ago)
parents 870e1ce31226
children ccb3cb4d6f56
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 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 python setup.py install --root=$DESTDIR
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/usr $fs
36 # remove stuff
37 rm -rf $fs/usr/share/man
38 }