void-packages/srcpkgs/powerstat/template
2017-10-26 09:03:21 +02:00

15 lines
549 B
Bash

# 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 <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=79b059d12dc776f7f47d3bef0b1c60185a0ba49765d1c89e920fa2f24a081711
do_build() {
make CC=$CC CFLAGS+="-DVERSION=\\\"$version\\\" $CFLAGS" ${makejobs}
}