# SliTaz package receipt.

PACKAGE="dstat"
VERSION="0.7.2"
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"
TAGS="resource system monitor stats statistics"

# 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
}