void-packages/srcpkgs/ttyload-git/template
2014-11-17 16:27:00 +01:00

23 lines
585 B
Bash

# Template file for 'ttyload-git'
pkgname=ttyload-git
version=20141117
revision=2
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}
}
do_build() {
make CC=$CC OTHER_FLAGS="$CFLAGS"
}
do_install() {
vbin ttyload
}