wok view btop/receipt @ rev 25587

Update some web_site / wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 06 11:04:30 2023 +0000 (18 months ago)
parents 65942c8606f4
children
line source
1 # SliTaz package receipt.
3 PACKAGE="btop"
4 VERSION="1.2.13"
5 CATEGORY="system-tools"
6 SHORT_DESC="Resource monitor that shows usage and stats for processor, memory, disks, network and processes."
7 MAINTAINER="ceel@netcourrier.com"
8 LICENSE="Apache 2.0"
9 WEB_SITE="https://github.com/aristocratos/btop"
11 TARBALL="$PACKAGE-i686-linux-musl.tbz"
12 WGET_URL="$WEB_SITE/releases/download/v$VERSION/$TARBALL"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - $WEB_SITE/releases 2>/dev/null | \
18 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 make install PREFIX=/usr
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 cp -a $install/usr $fs
31 }