void-packages/srcpkgs/powerstat/template
2021-02-13 19:19:34 -03:00

15 lines
561 B
Bash

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