wok view dstat/receipt @ rev 25057

linux-libre: fix linux-libre-3.18.129-gnu-slitaz.config
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 06 11:05:30 2022 +0000 (2022-06-06)
parents 6a69d12378f4
children fe1b5660fdd1
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 }