wok annotate dstat/receipt @ rev 25647

Backout salvador 10% speedup: crashes with large files
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 26 12:15:51 2024 +0000 (8 months ago)
parents 5ea0ce1cecc0
children
rev   line source
paul@2907 1 # SliTaz package receipt.
paul@2907 2
paul@2907 3 PACKAGE="dstat"
Hans-G?nter@22742 4 VERSION="0.7.4"
paul@2907 5 CATEGORY="system-tools"
Hans-G?nter@22742 6 TAGS="resource system monitor stats statistics"
paul@2907 7 SHORT_DESC="Versatile tool for generating system resource statistics."
paul@2907 8 MAINTAINER="paul@slitaz.org"
pascal@15579 9 LICENSE="GPL2"
paul@2907 10 WEB_SITE="http://dag.wieers.com/home-made/dstat/"
Hans-G?nter@22742 11
Hans-G?nter@22742 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@22742 13 WGET_URL="https://github.com/dagwieers/dstat/archive/v$VERSION.tar.gz"
paul@2907 14
pascal@15579 15 DEPENDS="python"
pascal@15579 16
pascal@25598 17 # What is the latest version available today?
pascal@24055 18 current_version()
pascal@24055 19 {
pascal@24055 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@25598 21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
pascal@24055 22 }
pascal@24055 23
paul@2907 24 # Rules to configure and make the package.
paul@2907 25 compile_rules()
paul@2907 26 {
pascal@15579 27 make DESTDIR=$DESTDIR install
paul@2907 28 }
paul@2907 29
paul@2907 30 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@2907 31 genpkg_rules()
paul@2907 32 {
paul@2907 33 mkdir -p $fs/usr/share
Hans-G?nter@22742 34
Hans-G?nter@22742 35 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22742 36 cp -a $install/usr/share/dstat $fs/usr/share
paul@2907 37 }