wok-6.x annotate ttyload/receipt @ rev 23628
updated rust and rust-cargo (1.37.0 -> 1.42.0)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 16 10:33:21 2020 +0100 (2020-04-16) |
parents | be1594cae466 |
children | 922f061231c2 |
rev | line source |
---|---|
pascal@1740 | 1 # SliTaz package receipt. |
pascal@1740 | 2 |
pascal@1740 | 3 PACKAGE="ttyload" |
Hans-G?nter@22056 | 4 VERSION="0.5.3" |
pascal@1740 | 5 CATEGORY="system-tools" |
Hans-G?nter@22056 | 6 SHORT_DESC="Color-coded graph of load averages over time." |
pascal@1740 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15601 | 8 LICENSE="ISC" |
pascal@21302 | 9 WEB_SITE="https://www.daveltd.com/src/util/ttyload/" |
Hans-G?nter@22056 | 10 |
Hans-G?nter@22056 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@1740 | 12 WGET_URL="${WEB_SITE}$TARBALL" |
pascal@1740 | 13 |
pascal@1740 | 14 # Rules to configure and make the package. |
pascal@1740 | 15 compile_rules() |
pascal@1740 | 16 { |
Hans-G?nter@22056 | 17 # 0.5.3 |
Hans-G?nter@22056 | 18 sed -i '10i#include <time.h>' ttyload.h |
Hans-G?nter@22056 | 19 |
pascal@1740 | 20 make |
pascal@1740 | 21 } |
pascal@1740 | 22 |
pascal@1740 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1740 | 24 genpkg_rules() |
pascal@1740 | 25 { |
pascal@1740 | 26 mkdir -p $fs/usr/bin |
pascal@1740 | 27 cp -a $src/ttyload $fs/usr/bin |
pascal@1740 | 28 } |