wok annotate dstat/receipt @ rev 7035
Merge
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Oct 31 23:40:37 2010 +0100 (2010-10-31) |
parents | 74a6a43bf614 |
children | 7570ed4b268f |
rev | line source |
---|---|
paul@2907 | 1 # SliTaz package receipt. |
paul@2907 | 2 |
paul@2907 | 3 PACKAGE="dstat" |
paul@5284 | 4 VERSION="0.7.1" |
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 } |