diff --git a/srcpkgs/pmr/template b/srcpkgs/pmr/template index 2c0ac44e692..4c4c39c8922 100644 --- a/srcpkgs/pmr/template +++ b/srcpkgs/pmr/template @@ -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 " 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