ttyload-git: respect our LDFLAGS
This commit is contained in:
parent
7f2ec7b026
commit
334f8ea26e
1 changed files with 7 additions and 1 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue