wok-4.x diff dstat/receipt @ rev 3000
slim: Fix pre_install func to backup config file (Thanks firmit)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 11 21:44:31 2009 +0200 (2009-05-11) |
parents | |
children | 63b49af1d012 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dstat/receipt Mon May 11 21:44:31 2009 +0200 1.3 @@ -0,0 +1,26 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="dstat" 1.7 +VERSION="0.6.9" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="Versatile tool for generating system resource statistics." 1.10 +MAINTAINER="paul@slitaz.org" 1.11 +DEPENDS="python" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.13 +WEB_SITE="http://dag.wieers.com/home-made/dstat/" 1.14 +WGET_URL="http://dag.wieers.com/home-made/dstat/$TARBALL" 1.15 + 1.16 +# Rules to configure and make the package. 1.17 +compile_rules() 1.18 +{ 1.19 + cd $src 1.20 + make DESTDIR=$PWD/_pkg install 1.21 +} 1.22 + 1.23 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.24 +genpkg_rules() 1.25 +{ 1.26 + mkdir -p $fs/usr/share 1.27 + cp -a $_pkg/usr/bin $fs/usr 1.28 + cp -a $_pkg/usr/share/dstat $fs/usr/share 1.29 +}