wok annotate dstat/receipt @ rev 25125
updated apache-mod-wsgi (4.6.5 -> 4.9.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jun 28 16:29:10 2022 +0100 (2022-06-28) |
parents | 6a69d12378f4 |
children | fe1b5660fdd1 |
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@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24055 | 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
paul@2907 | 23 # Rules to configure and make the package. |
paul@2907 | 24 compile_rules() |
paul@2907 | 25 { |
pascal@15579 | 26 make DESTDIR=$DESTDIR install |
paul@2907 | 27 } |
paul@2907 | 28 |
paul@2907 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@2907 | 30 genpkg_rules() |
paul@2907 | 31 { |
paul@2907 | 32 mkdir -p $fs/usr/share |
Hans-G?nter@22742 | 33 |
Hans-G?nter@22742 | 34 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22742 | 35 cp -a $install/usr/share/dstat $fs/usr/share |
paul@2907 | 36 } |