16 lines
561 B
Bash
16 lines
561 B
Bash
# Template file for 'powerstat'
|
|
pkgname=powerstat
|
|
version=0.02.20
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
short_desc="Measures the power consumption using the ACPI battery information"
|
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="http://kernel.ubuntu.com/~cking/powerstat/"
|
|
distfiles="http://kernel.ubuntu.com/~cking/tarballs/powerstat/powerstat-${version}.tar.gz"
|
|
checksum=679305b3a6d2cc9820d19247e9acc1fb2fa48e96a65bc253b358ba5b0a985de3
|
|
|
|
do_build() {
|
|
make CC=$CC CFLAGS+="-DVERSION=\\\"$version\\\" $CFLAGS" ${makejobs}
|
|
}
|