wok-4.x annotate dstat/receipt @ rev 5011

use mv instead of cp -a to save RAM (thanks Eric)
author Rohit Joshi <jozee@slitaz.org>
date Sun Feb 28 19:46:30 2010 +0000 (2010-02-28)
parents 63b49af1d012
children 30a7b5fb8239
rev   line source
paul@2907 1 # SliTaz package receipt.
paul@2907 2
paul@2907 3 PACKAGE="dstat"
paul@4597 4 VERSION="0.7.0"
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 }