blob: c176cba388e47d86ac85d4d3acc1071ba9349f31 [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 \
Brad Bishop08902b02019-08-20 09:16:51 -040010 file://0001-wakeup_xxx.h-include-limits.h.patch \
Brad Bishop19323692019-04-05 15:28:33 -040011"
William A. Kennington IIIac69b482021-06-02 12:28:27 -070012SRCREV = "52f022f9bbe6e060fba11701d657a8d9762702ba"
Brad Bishop19323692019-04-05 15:28:33 -040013
Andrew Geisslerc182c622020-05-15 14:13:32 -050014S = "${WORKDIR}/git"
Brad Bishop19323692019-04-05 15:28:33 -040015
Patrick Williams213cb262021-08-07 19:21:33 -050016LDFLAGS:append = " -pthread"
Brad Bishop19323692019-04-05 15:28:33 -040017
William A. Kennington IIIac69b482021-06-02 12:28:27 -070018inherit autotools gettext pkgconfig bash-completion
Brad Bishop19323692019-04-05 15:28:33 -040019
20inherit update-alternatives
Patrick Williams213cb262021-08-07 19:21:33 -050021ALTERNATIVE:${PN} = "powertop"
Brad Bishop19323692019-04-05 15:28:33 -040022ALTERNATIVE_TARGET[powertop] = "${sbindir}/powertop"
23ALTERNATIVE_LINK_NAME[powertop] = "${sbindir}/powertop"
24ALTERNATIVE_PRIORITY = "100"