# HG changeset patch # User Paul Issott # Date 1241629649 0 # Node ID 3e34ebb36f7f5fb922adaefd8f882ef3ce68627d # Parent 2566eb2b0daef17338288876afae167874297fdc Add dstat diff -r 2566eb2b0dae -r 3e34ebb36f7f dstat/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dstat/receipt Wed May 06 17:07:29 2009 +0000 @@ -0,0 +1,26 @@ +# SliTaz package receipt. + +PACKAGE="dstat" +VERSION="0.6.9" +CATEGORY="system-tools" +SHORT_DESC="Versatile tool for generating system resource statistics." +MAINTAINER="paul@slitaz.org" +DEPENDS="python" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://dag.wieers.com/home-made/dstat/" +WGET_URL="http://dag.wieers.com/home-made/dstat/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/share/dstat $fs/usr/share +}