wok-6.x annotate dstat/receipt @ rev 22454
get-palemoon: add tar (magic) and J for .xz (downloaded archive is not bzip2 anymore)
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Thu Dec 26 11:01:01 2019 +0000 (2019-12-26) |
parents | eb8067417980 |
children | 6a69d12378f4 |
rev | line source |
---|---|
paul@2907 | 1 # SliTaz package receipt. |
paul@2907 | 2 |
paul@2907 | 3 PACKAGE="dstat" |
paul@19133 | 4 VERSION="0.7.3" |
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" |
pascal@15579 | 8 LICENSE="GPL2" |
paul@19133 | 9 TARBALL="$VERSION.tar.gz" |
paul@2907 | 10 WEB_SITE="http://dag.wieers.com/home-made/dstat/" |
paul@19133 | 11 WGET_URL="https://github.com/dagwieers/dstat/archive/$TARBALL" |
jozee@4934 | 12 TAGS="resource system monitor stats statistics" |
paul@2907 | 13 |
pascal@15579 | 14 DEPENDS="python" |
pascal@15579 | 15 |
paul@2907 | 16 # Rules to configure and make the package. |
paul@2907 | 17 compile_rules() |
paul@2907 | 18 { |
paul@2907 | 19 cd $src |
pascal@15579 | 20 make DESTDIR=$DESTDIR install |
paul@2907 | 21 } |
paul@2907 | 22 |
paul@2907 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@2907 | 24 genpkg_rules() |
paul@2907 | 25 { |
paul@2907 | 26 mkdir -p $fs/usr/share |
pascal@15579 | 27 cp -a $install/usr/bin $fs/usr |
pascal@15579 | 28 cp -a $install/usr/share/dstat $fs/usr/share |
paul@2907 | 29 } |