wok view ttyload/receipt @ rev 24691

updated jpeg-turbo, libjpeg-turbo and libjpeg-turbo-dev (2.0.4 -> 2.1.3)
author Hans-G?nter Theisgen
date Sat Mar 12 15:29:40 2022 +0100 (2022-03-12)
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 }