wok annotate 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
rev   line source
pascal@13740 1 # SliTaz package receipt.
pascal@13740 2
pascal@13740 3 PACKAGE="glances"
Hans-G?nter@22852 4 VERSION="3.1.3"
pascal@13740 5 CATEGORY="utilities"
pascal@13740 6 SHORT_DESC="A CLI curses based monitoring tool for GNU/Linux and BSD OS."
pascal@13740 7 MAINTAINER="paul@slitaz.org"
pascal@14997 8 LICENSE="LGPL3"
pascal@24894 9 WEB_SITE="https://nicolargo.github.io/glances/"
Hans-G?nter@20969 10
pascal@20978 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@20969 12 WGET_URL="https://github.com/nicolargo/$PACKAGE/archive/v$VERSION.tar.gz"
Hans-G?nter@22852 13
pascal@13740 14 SUGGESTED="python-jinja2"
pascal@21580 15 DEPENDS="python python-psutil"
Hans-G?nter@22852 16 BUILD_DEPENDS="python-dev python-psutil python-setuptools"
pascal@14997 17
pascal@24055 18 current_version()
pascal@24055 19 {
pascal@24055 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 22 }
pascal@24055 23
pascal@13740 24 # Rules to configure and make the package.
pascal@13740 25 compile_rules()
pascal@13740 26 {
pascal@13740 27 python setup.py install --root=$DESTDIR
pascal@13740 28 }
pascal@13740 29
pascal@13740 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13740 31 genpkg_rules()
pascal@13740 32 {
Hans-G?nter@22852 33 cp -a $install/usr $fs
Hans-G?nter@20970 34
pascal@13740 35 # remove stuff
Hans-G?nter@22852 36 rm -rf $fs/usr/share/man
pascal@13740 37 }