mirror of
https://git.yoctoproject.org/poky
synced 2026-04-30 03:32:12 +02:00
There is uncertainty about the default branch name in git going forward. To try and cover the different possible outcomes, add branch names to all git:// and gitsm:// SRC_URI entries. This update was made with the script added to contrib in this patch which aims to help others convert other layers. (From OE-Core rev: b51c405faf6f8c0365f7533bfaf470d79152a463) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
26 lines
939 B
BlitzBasic
26 lines
939 B
BlitzBasic
SUMMARY = "Power usage tool"
|
|
DESCRIPTION = "Linux tool to diagnose issues with power consumption and power management."
|
|
HOMEPAGE = "https://01.org/powertop/"
|
|
BUGTRACKER = "https://app.devzing.com/powertopbugs/bugzilla"
|
|
DEPENDS = "ncurses libnl pciutils autoconf-archive"
|
|
LICENSE = "GPLv2"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e"
|
|
|
|
SRC_URI = "git://github.com/fenrus75/powertop;protocol=https;branch=master \
|
|
file://0001-wakeup_xxx.h-include-limits.h.patch \
|
|
file://0001-src-fix-compatibility-with-ncurses-6.3.patch \
|
|
"
|
|
SRCREV = "52f022f9bbe6e060fba11701d657a8d9762702ba"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
LDFLAGS:append = " -pthread"
|
|
|
|
inherit autotools gettext pkgconfig bash-completion
|
|
|
|
inherit update-alternatives
|
|
ALTERNATIVE:${PN} = "powertop"
|
|
ALTERNATIVE_TARGET[powertop] = "${sbindir}/powertop"
|
|
ALTERNATIVE_LINK_NAME[powertop] = "${sbindir}/powertop"
|
|
ALTERNATIVE_PRIORITY = "100"
|