wok-6.x annotate glances/receipt @ rev 15949
compton: avoid source tarball collisions
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 23 12:17:31 2014 +0000 (2014-02-23) |
parents | 01dc32ea5178 |
children | 16df76e1fc6a |
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@14997 | 8 LICENSE="LGPL3" |
pascal@13740 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@13740 | 10 WEB_SITE="http://nicolargo.github.com/glances/" |
pascal@13740 | 11 WGET_URL="git|git://github.com/nicolargo/glances.git" |
pascal@13740 | 12 SUGGESTED="python-jinja2" |
pascal@13740 | 13 |
pascal@14997 | 14 DEPENDS="python python-psutil setuptools" |
pascal@14997 | 15 BUILD_DEPENDS="git bzip2 python-dev setuptools python-psutil" |
pascal@14997 | 16 |
pascal@13740 | 17 # Rules to configure and make the package. |
pascal@13740 | 18 compile_rules() |
pascal@13740 | 19 { |
pascal@13740 | 20 cd $src |
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 |
pascal@13740 | 28 # remove stuff |
pascal@13740 | 29 rm -rf $fs/usr/share/man |
pascal@13740 | 30 } |
pascal@13740 | 31 |