wok annotate btop/receipt @ rev 25529

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