2023-01-19 11:14:52 +00:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# Copyright (C) 2020-present Fewtarius
|
|
|
|
|
|
|
|
PKG_NAME="powertop"
|
2023-08-24 09:53:35 +00:00
|
|
|
PKG_VERSION="24a96ea894b1e8916664a6aa35f5c77d3167fcf9"
|
2023-01-19 11:44:31 +00:00
|
|
|
PKG_ARCH="x86_64"
|
2023-01-19 11:14:52 +00:00
|
|
|
PKG_LICENSE="GPL"
|
|
|
|
PKG_SITE="https://github.com/fenrus75/powertop"
|
|
|
|
PKG_URL="${PKG_SITE}.git"
|
2023-06-03 10:00:49 +00:00
|
|
|
PKG_DEPENDS_TARGET="toolchain ncurses libnl pciutils systemd libtracefs"
|
2023-01-19 11:14:52 +00:00
|
|
|
PKG_LONGDESC="Power consumption / management diagnostic utility."
|
|
|
|
PKG_BUILD_FLAGS="+pic"
|
|
|
|
PKG_TOOLCHAIN="autotools"
|
|
|
|
|
|
|
|
pre_configure_target() {
|
|
|
|
export LDFLAGS="${LDFLAGS} -ludev"
|
|
|
|
}
|
|
|
|
|