wok annotate glances/receipt @ rev 21419

php: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Apr 24 17:27:05 2019 +0200 (2019-04-24)
parents fccf1530eed7
children 240fb3120638
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@14997 15 DEPENDS="python python-psutil setuptools"
Hans-G?nter@20969 16 BUILD_DEPENDS="python-dev 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 }