wok-next annotate glances/receipt @ rev 13751
clamtk: fix genpkg_rules (thanks ernia)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jan 02 14:23:17 2013 +0100 (2013-01-02) |
parents | |
children | 7d6089953592 |
rev | line source |
---|---|
pascal@13740 | 1 # SliTaz package receipt. |
pascal@13740 | 2 |
pascal@13740 | 3 PACKAGE="glances" |
pascal@13740 | 4 VERSION="1.5.1" |
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@13740 | 8 DEPENDS="python python-psutil setuptools" |
pascal@13740 | 9 BUILD_DEPENDS="git bzip2 python-dev setuptools python-psutil" |
pascal@13740 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@13740 | 11 WEB_SITE="http://nicolargo.github.com/glances/" |
pascal@13740 | 12 WGET_URL="git|git://github.com/nicolargo/glances.git" |
pascal@13740 | 13 SUGGESTED="python-jinja2" |
pascal@13740 | 14 |
pascal@13740 | 15 # Rules to configure and make the package. |
pascal@13740 | 16 compile_rules() |
pascal@13740 | 17 { |
pascal@13740 | 18 cd $src |
pascal@13740 | 19 python setup.py install --root=$DESTDIR |
pascal@13740 | 20 } |
pascal@13740 | 21 |
pascal@13740 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13740 | 23 genpkg_rules() |
pascal@13740 | 24 { |
pascal@13740 | 25 cp -a $install/usr $fs |
pascal@13740 | 26 # remove stuff |
pascal@13740 | 27 rm -rf $fs/usr/share/man |
pascal@13740 | 28 } |
pascal@13740 | 29 |