wok-current view ttyload/receipt @ rev 25692
Up gnutls CVE-2024-28834, CVE-2024-28835, Up python3 CVE-2023-52425, CVE-2024-0450, CVE-2023-6597
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Mar 22 16:28:42 2024 +0000 (8 months ago) |
parents | 3d96b88308b0 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="ttyload"
4 VERSION="0.5.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="Color-coded graph of load averages over time."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="ISC"
9 WEB_SITE="https://www.daveltd.com/src/util/ttyload/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="${WEB_SITE}$TARBALL"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - $WEB_SITE 2>/dev/null | \
18 sed '/is now/!d;s|.*ttyload-||;s|.tar.*||;q'
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 # 0.5.3
25 sed -i '10i#include <time.h>' ttyload.h
27 make
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/bin
34 cp -a $src/ttyload $fs/usr/bin
35 }