latencytop: obey our LDFLAGS

This commit is contained in:
Toyam Cox 2016-06-19 13:19:48 -04:00
parent 4ddde4827e
commit e3cd6e9296

View file

@ -1,7 +1,7 @@
# Template file for 'latencytop'
pkgname=latencytop
version=0.5
revision=3
revision=4
build_style=gnu-makefile
hostmakedepends="pkg-config"
makedepends="gtk+-devel ncurses-devel"
@ -12,6 +12,10 @@ homepage="http://www.latencytop.org"
distfiles="${DEBIAN_SITE}/main/l/$pkgname/${pkgname}_${version}.orig.tar.gz"
checksum=9e7f72fbea7bd918e71212a1eabaad8488d2c602205d2e3c95d62cd57e9203ef
pre_build() {
export CFLAGS="$CFLAGS $LDFLAGS"
}
do_install() {
vmkdir usr/bin
make DESTDIR=$PKGDESTDIR SBINDIR=/usr/bin install