vp-build/srcpkgs/powerstat/template

16 lines
561 B
Bash

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