1SUMMARY = "Power usage tool" 2DESCRIPTION = "Linux tool to diagnose issues with power consumption and power management." 3HOMEPAGE = "https://01.org/powertop/" 4BUGTRACKER = "https://app.devzing.com/powertopbugs/bugzilla" 5DEPENDS = "ncurses libnl pciutils autoconf-archive" 6LICENSE = "GPL-2.0-only" 7LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e" 8 9SRC_URI = "git://github.com/fenrus75/powertop;protocol=https;branch=master \ 10 file://0001-wakeup_xxx.h-include-limits.h.patch \ 11 file://0001-src-fix-compatibility-with-ncurses-6.3.patch \ 12 " 13SRCREV = "52f022f9bbe6e060fba11701d657a8d9762702ba" 14 15S = "${WORKDIR}/git" 16 17LDFLAGS:append = " -pthread" 18 19inherit autotools gettext pkgconfig bash-completion 20 21inherit update-alternatives 22ALTERNATIVE:${PN} = "powertop" 23ALTERNATIVE_TARGET[powertop] = "${sbindir}/powertop" 24ALTERNATIVE_LINK_NAME[powertop] = "${sbindir}/powertop" 25ALTERNATIVE_PRIORITY = "100" 26