# Template file for 'powerstat' pkgname=powerstat version=0.02.14 revision=1 build_style=gnu-makefile short_desc="Measures the power consumption using the ACPI battery information" 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=79b059d12dc776f7f47d3bef0b1c60185a0ba49765d1c89e920fa2f24a081711 do_build() { make CC=$CC CFLAGS+="-DVERSION=\\\"$version\\\" $CFLAGS" ${makejobs} }