diff --git a/srcpkgs/powerstat/template b/srcpkgs/powerstat/template index 0b292ad29b3..1f2533d534f 100644 --- a/srcpkgs/powerstat/template +++ b/srcpkgs/powerstat/template @@ -1,6 +1,6 @@ # Template file for 'powerstat' pkgname=powerstat -version=0.02.07 +version=0.02.08 revision=1 build_style=gnu-makefile short_desc="Measures the power consumption using the ACPI battery information" @@ -8,8 +8,8 @@ maintainer="Enno Boland " license="GPL-2" homepage="http://kernel.ubuntu.com/~cking/powerstat/" distfiles="http://kernel.ubuntu.com/~cking/tarballs/powerstat/powerstat-${version}.tar.gz" -checksum=4f453bd6dbb6fac678f05e0e7aa9102dbb1f8f3a91ce6a61d6bf599f35e56c53 +checksum=427c54d8d46daef3c4af34bb0d408c6c2961246e308d420fce0d11d2dc3b9674 do_build() { - make CC=$CC ${makejobs} + make CC=$CC CFLAGS+="-DVERSION=\\\"$version\\\" $CFLAGS" ${makejobs} }