void-packages/srcpkgs/powerstat/template
2018-02-05 15:03:52 +01:00

15 lines
549 B
Bash

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