blob: 3a7c3ba31ebdae14b5976a3bca1a37e11a2364af [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"
Brad Bishop19323692019-04-05 15:28:33 -04006LICENSE = "GPLv2"
7LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e"
8
Andrew Geisslerc182c622020-05-15 14:13:32 -05009SRC_URI = "git://github.com/fenrus75/powertop;protocol=https \
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"