buildroot/package/powertop/powertop.mk
Sergio Prado 68cf4136bb package/powertop: bump version to 2.13
Also separate the fields in the hash file by two spaces and add pgp
signature check.

Since we're now using the default value for POWERTOP_SOURCE, drop this
variable definition.

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-08-28 23:44:10 +02:00

26 lines
812 B
Makefile

################################################################################
#
# powertop
#
################################################################################
POWERTOP_VERSION = 2.13
POWERTOP_SITE = https://01.org/sites/default/files/downloads
POWERTOP_DEPENDENCIES = pciutils ncurses libnl host-pkgconf \
$(TARGET_NLS_DEPENDENCIES)
POWERTOP_LICENSE = GPL-2.0
POWERTOP_LICENSE_FILES = COPYING
POWERTOP_CONF_ENV = LIBS=$(TARGET_NLS_LIBS)
# 0001-dont-force-stack-smashing-protection.patch
POWERTOP_AUTORECONF = YES
# Help powertop at finding the right ncurses library depending on
# which one is available.
ifeq ($(BR2_PACKAGE_NCURSES_WCHAR),y)
POWERTOP_CONF_ENV += ac_cv_search_delwin="-lncursesw"
else
POWERTOP_CONF_ENV += ac_cv_search_delwin="-lncurses"
endif
$(eval $(autotools-package))