15 lines
549 B
Bash
15 lines
549 B
Bash
# Template file for 'powerstat'
|
|
pkgname=powerstat
|
|
version=0.02.09
|
|
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=32e32f3ed67ea513bbb4d577057d3a6b1f47f10572fcc7cf321d878f0c96c3dd
|
|
|
|
do_build() {
|
|
make CC=$CC CFLAGS+="-DVERSION=\\\"$version\\\" $CFLAGS" ${makejobs}
|
|
}
|