blob: a2f30040b53224db6ed36667d4999b745922d24e [file] [log] [blame]
Brad Bishop19323692019-04-05 15:28:33 -04001SUMMARY = "Power usage tool"
2DESCRIPTION = "Linux tool to diagnose issues with power consumption and power management."
Andrew Geissler82c905d2020-04-13 13:39:40 -05003HOMEPAGE = "https://01.org/powertop/"
4BUGTRACKER = "https://app.devzing.com/powertopbugs/bugzilla"
Andrew Geissler4ed12e12020-06-05 18:00:41 -05005DEPENDS = "ncurses libnl pciutils autoconf-archive"
Andrew Geissler7e0e3c02022-02-25 20:34:39 +00006LICENSE = "GPL-2.0-only"
Brad Bishop19323692019-04-05 15:28:33 -04007LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e"
8
Andrew Geissler595f6302022-01-24 19:11:47 +00009SRC_URI = "git://github.com/fenrus75/powertop;protocol=https;branch=master \
Andrew Geisslereff27472021-10-29 15:35:00 -050010 file://0001-wakeup_xxx.h-include-limits.h.patch \
11 file://0001-src-fix-compatibility-with-ncurses-6.3.patch \
12 "
William A. Kennington IIIac69b482021-06-02 12:28:27 -070013SRCREV = "52f022f9bbe6e060fba11701d657a8d9762702ba"
Brad Bishop19323692019-04-05 15:28:33 -040014
Andrew Geisslerc182c622020-05-15 14:13:32 -050015S = "${WORKDIR}/git"
Brad Bishop19323692019-04-05 15:28:33 -040016
Patrick Williams213cb262021-08-07 19:21:33 -050017LDFLAGS:append = " -pthread"
Brad Bishop19323692019-04-05 15:28:33 -040018
William A. Kennington IIIac69b482021-06-02 12:28:27 -070019inherit autotools gettext pkgconfig bash-completion
Brad Bishop19323692019-04-05 15:28:33 -040020
21inherit update-alternatives
Patrick Williams213cb262021-08-07 19:21:33 -050022ALTERNATIVE:${PN} = "powertop"
Brad Bishop19323692019-04-05 15:28:33 -040023ALTERNATIVE_TARGET[powertop] = "${sbindir}/powertop"
24ALTERNATIVE_LINK_NAME[powertop] = "${sbindir}/powertop"
25ALTERNATIVE_PRIORITY = "100"