blob: 0aae4c9397805d88d5aa7b6d8089bf26adbb61a5 [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 \
Andrew Geisslereff27472021-10-29 15:35:00 -050011 "
Patrick Williams2390b1b2022-11-03 13:47:49 -050012SRCREV = "d51ad395436d4d1dcc3ca46e1519ffeb475bf651"
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"