vp-build/srcpkgs/ttyload-git/template

30 lines
640 B
Bash

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