# Template file for 'powerstat'
pkgname=powerstat
version=0.02.13
revision=1
build_style=gnu-makefile
short_desc="Measures the power consumption using the ACPI battery information"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="GPL-2"
homepage="http://kernel.ubuntu.com/~cking/powerstat/"
distfiles="http://kernel.ubuntu.com/~cking/tarballs/powerstat/powerstat-${version}.tar.gz"
checksum=5ba24f8dc67439e7568364cd507cdec93378968fafaf8945d33674aefc0ac9a3

do_build() {
	make CC=$CC CFLAGS+="-DVERSION=\\\"$version\\\" $CFLAGS" ${makejobs}
}
