wok-6.x diff ttyload/receipt @ rev 23909

Up tazinst (1021)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 08 17:52:43 2020 +0000 (2020-08-08)
parents be1594cae466
children 922f061231c2
line diff
     1.1 --- a/ttyload/receipt	Thu Apr 18 12:08:43 2019 +0200
     1.2 +++ b/ttyload/receipt	Sat Aug 08 17:52:43 2020 +0000
     1.3 @@ -1,19 +1,22 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="ttyload"
     1.7 -VERSION="0.5"
     1.8 +VERSION="0.5.3"
     1.9  CATEGORY="system-tools"
    1.10 -SHORT_DESC="color-coded graph of load averages over time."
    1.11 +SHORT_DESC="Color-coded graph of load averages over time."
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="ISC"
    1.14 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15  WEB_SITE="https://www.daveltd.com/src/util/ttyload/"
    1.16 +
    1.17 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.18  WGET_URL="${WEB_SITE}$TARBALL"
    1.19  
    1.20  # Rules to configure and make the package.
    1.21  compile_rules()
    1.22  {
    1.23 -	cd $src
    1.24 +	# 0.5.3
    1.25 +	sed -i '10i#include <time.h>' ttyload.h
    1.26 +
    1.27  	make
    1.28  }
    1.29  
    1.30 @@ -23,4 +26,3 @@
    1.31  	mkdir -p $fs/usr/bin
    1.32  	cp -a $src/ttyload $fs/usr/bin
    1.33  }
    1.34 -