vp-build/srcpkgs/powerstat/template

16 lines
549 B
Bash

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