19 lines
630 B
Bash
19 lines
630 B
Bash
# Template file for 'powertop'
|
|
pkgname=powertop
|
|
version=2.14
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake 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=0e4cd0933a4f1fe04bfbf9d56efaabc841d9b04d391426f1a3469d6635a25f37
|
|
|
|
LDFLAGS="-lpthread"
|
|
|
|
pre_configure() {
|
|
./autogen.sh
|
|
}
|