void-packages/srcpkgs/ttyload-git/template

24 lines
585 B
Bash
Raw Normal View History

2014-11-17 13:29:13 +01:00
# Template file for 'ttyload-git'
pkgname=ttyload-git
version=20141117
2014-11-17 16:27:00 +01:00
revision=2
2014-11-17 13:29:13 +01: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 16:27:00 +01:00
do_build() {
make CC=$CC OTHER_FLAGS="$CFLAGS"
}
2014-11-17 13:29:13 +01:00
do_install() {
vbin ttyload
}