wok annotate glances/receipt @ rev 21917
linux-zram: split swap according to cores count
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 05 11:36:18 2019 +0200 (2019-10-05) |
parents | ca05f1f91515 |
children | 193a38dd2e06 |
rev | line source |
---|---|
pascal@13740 | 1 # SliTaz package receipt. |
pascal@13740 | 2 |
pascal@13740 | 3 PACKAGE="glances" |
Hans-G?nter@20969 | 4 VERSION="3.1.0" |
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" |
Hans-G?nter@20969 | 9 WEB_SITE="https://nicolargo.github.com/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" |
pascal@13740 | 13 SUGGESTED="python-jinja2" |
pascal@13740 | 14 |
pascal@21580 | 15 DEPENDS="python python-psutil" |
pascal@21580 | 16 BUILD_DEPENDS="python-dev python-setuptools python-psutil" |
pascal@14997 | 17 |
pascal@13740 | 18 # Rules to configure and make the package. |
pascal@13740 | 19 compile_rules() |
pascal@13740 | 20 { |
pascal@13740 | 21 python setup.py install --root=$DESTDIR |
pascal@13740 | 22 } |
pascal@13740 | 23 |
pascal@13740 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13740 | 25 genpkg_rules() |
pascal@13740 | 26 { |
pascal@13740 | 27 cp -a $install/usr $fs |
Hans-G?nter@20970 | 28 |
pascal@13740 | 29 # remove stuff |
pascal@13740 | 30 rm -rf $fs/usr/share/man |
pascal@13740 | 31 } |