void-packages/srcpkgs/powertop/template

20 lines
647 B
Bash

# Template file for 'powertop'
pkgname=powertop
version=2.15
revision=2
build_style=gnu-configure
hostmakedepends="automake autoconf-archive gettext-devel libtool pkg-config"
makedepends="ncurses-devel pciutils-devel libnl3-devel"
short_desc="Tool to diagnose issues with power consumption and power management"
maintainer="Frank Steinborn <steinex@nognu.de>"
license="GPL-2.0-only"
homepage="https://github.com/fenrus75/powertop"
distfiles="https://github.com/fenrus75/powertop/archive/refs/tags/v${version}.tar.gz"
checksum=e58ab3fd7b8ff5f4dd0d17f11848817e7d83c0a6918145ac81de03b5dccf8f49
LDFLAGS="-lpthread"
pre_configure() {
./autogen.sh
}