# Template file for 'powerstat' pkgname=powerstat version=0.02.10 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=94d1372f70ef441dfac581d6b1f455504eda87e044140a24aa471e018198c286 do_build() { make CC=$CC CFLAGS+="-DVERSION=\\\"$version\\\" $CFLAGS" ${makejobs} }