wok-next annotate dstat/receipt @ rev 4203
gpxe: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 23 22:36:48 2009 +0200 (2009-09-23) |
parents | |
children | 63b49af1d012 |
rev | line source |
---|---|
paul@2907 | 1 # SliTaz package receipt. |
paul@2907 | 2 |
paul@2907 | 3 PACKAGE="dstat" |
paul@2907 | 4 VERSION="0.6.9" |
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" |
paul@2907 | 12 |
paul@2907 | 13 # Rules to configure and make the package. |
paul@2907 | 14 compile_rules() |
paul@2907 | 15 { |
paul@2907 | 16 cd $src |
paul@2907 | 17 make DESTDIR=$PWD/_pkg install |
paul@2907 | 18 } |
paul@2907 | 19 |
paul@2907 | 20 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@2907 | 21 genpkg_rules() |
paul@2907 | 22 { |
paul@2907 | 23 mkdir -p $fs/usr/share |
paul@2907 | 24 cp -a $_pkg/usr/bin $fs/usr |
paul@2907 | 25 cp -a $_pkg/usr/share/dstat $fs/usr/share |
paul@2907 | 26 } |