pmr: pass CFLAGS and LDFLAGS.

This commit is contained in:
Christian Neukirchen 2016-05-24 17:01:06 +02:00
parent b5e6c32622
commit 2c8a5cd2c0

View file

@ -1,8 +1,9 @@
# Template file for 'pmr'
pkgname=pmr
version=1.01
revision=1
build_style=gnu-configure
revision=2
build_style=gnu-makefile
make_build_args="-f Makefile.in"
short_desc="A tool for measuring data rate on the UNIX command line"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="Public Domain"
@ -10,7 +11,10 @@ homepage="http://zakalwe.fi/~shd/foss/pmr/"
distfiles="http://zakalwe.fi/~shd/foss/pmr/pmr-${version}.tar.gz"
checksum=c7e5b2eee2f0411a55afcb3a78a9e17ef545a764901277b3be0802396449af24
do_install(){
pre_build() {
export CFLAGS="$CFLAGS $LDFLAGS"
}
do_install() {
vbin pmr
vman doc/pmr.1
vlicense COPYING