ttyload-git: respect our LDFLAGS

This commit is contained in:
Toyam Cox 2016-06-20 00:11:31 -04:00
parent 7f2ec7b026
commit 334f8ea26e

View file

@ -1,7 +1,7 @@
# Template file for 'ttyload-git' # Template file for 'ttyload-git'
pkgname=ttyload-git pkgname=ttyload-git
version=20141117 version=20141117
revision=2 revision=3
hostmakedepends="git" hostmakedepends="git"
short_desc="An ASCII colour-coded graph of load averages over time" short_desc="An ASCII colour-coded graph of load averages over time"
maintainer="Thomas Adam <thomas.adam22@gmail.com>" maintainer="Thomas Adam <thomas.adam22@gmail.com>"
@ -15,9 +15,15 @@ do_fetch() {
msg_normal "Fetching source from $url ...\n" msg_normal "Fetching source from $url ...\n"
git clone ${url} ${pkgname}-${version} git clone ${url} ${pkgname}-${version}
} }
pre_build() {
echo "echo '$LDFLAGS'" > ./ldflags
}
do_build() { do_build() {
make CC=$CC OTHER_FLAGS="$CFLAGS" make CC=$CC OTHER_FLAGS="$CFLAGS"
} }
do_install() { do_install() {
vbin ttyload vbin ttyload
} }