void-packages/srcpkgs/ttyload-git/template

24 lines
585 B
Text
Raw Normal View History

2014-11-17 12:29:13 +00:00
# Template file for 'ttyload-git'
pkgname=ttyload-git
version=20141117
2014-11-17 15:27:00 +00:00
revision=2
2014-11-17 12:29:13 +00:00
hostmakedepends="git"
short_desc="An ASCII colour-coded graph of load averages over time"
maintainer="Thomas Adam <thomas.adam22@gmail.com>"
license="ISC"
homepage="http://www.daveltd.com/src/util/ttyload/"
provides="ttyload-${version}_${revision}"
replaces="ttyload>=0"
do_fetch() {
local url="git://github.com/lindes/ttyload.git"
msg_normal "Fetching source from $url ...\n"
git clone ${url} ${pkgname}-${version}
}
2014-11-17 15:27:00 +00:00
do_build() {
make CC=$CC OTHER_FLAGS="$CFLAGS"
}
2014-11-17 12:29:13 +00:00
do_install() {
vbin ttyload
}