wok-6.x view glances/receipt @ rev 25121
created recipe for get-OpenOffice
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jun 27 15:00:45 2022 +0100 (2022-06-27) |
parents | 5ea0ce1cecc0 |
children |
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 }