wok-6.x view dstat/receipt @ rev 24807

Add fast-lzma2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 22 15:17:43 2022 +0000 (2022-03-22)
parents 6a69d12378f4
children
line source
1 # SliTaz package receipt.
3 PACKAGE="dstat"
4 VERSION="0.7.4"
5 CATEGORY="system-tools"
6 TAGS="resource system monitor stats statistics"
7 SHORT_DESC="Versatile tool for generating system resource statistics."
8 MAINTAINER="paul@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="http://dag.wieers.com/home-made/dstat/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/dagwieers/dstat/archive/v$VERSION.tar.gz"
15 DEPENDS="python"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/share/dstat $fs/usr/share
36 }