wok annotate dstat/receipt @ rev 15057
codiad: use config.example.php
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 13 10:34:38 2013 +0000 (2013-08-13) |
parents | 30a7b5fb8239 |
children | eb8067417980 |
rev | line source |
---|---|
paul@2907 | 1 # SliTaz package receipt. |
paul@2907 | 2 |
paul@2907 | 3 PACKAGE="dstat" |
paul@7057 | 4 VERSION="0.7.2" |
paul@2907 | 5 CATEGORY="system-tools" |
paul@2907 | 6 SHORT_DESC="Versatile tool for generating system resource statistics." |
paul@2907 | 7 MAINTAINER="paul@slitaz.org" |
paul@2907 | 8 DEPENDS="python" |
paul@2907 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
paul@2907 | 10 WEB_SITE="http://dag.wieers.com/home-made/dstat/" |
paul@2907 | 11 WGET_URL="http://dag.wieers.com/home-made/dstat/$TARBALL" |
jozee@4934 | 12 TAGS="resource system monitor stats statistics" |
paul@2907 | 13 |
paul@2907 | 14 # Rules to configure and make the package. |
paul@2907 | 15 compile_rules() |
paul@2907 | 16 { |
paul@2907 | 17 cd $src |
paul@2907 | 18 make DESTDIR=$PWD/_pkg install |
paul@2907 | 19 } |
paul@2907 | 20 |
paul@2907 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@2907 | 22 genpkg_rules() |
paul@2907 | 23 { |
paul@2907 | 24 mkdir -p $fs/usr/share |
paul@2907 | 25 cp -a $_pkg/usr/bin $fs/usr |
paul@2907 | 26 cp -a $_pkg/usr/share/dstat $fs/usr/share |
paul@2907 | 27 } |