diff options
Diffstat (limited to 'meta/recipes-kernel/powertop/powertop_2.15.bb')
-rw-r--r-- | meta/recipes-kernel/powertop/powertop_2.15.bb | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/recipes-kernel/powertop/powertop_2.15.bb b/meta/recipes-kernel/powertop/powertop_2.15.bb new file mode 100644 index 0000000000..65c6d0fcd3 --- /dev/null +++ b/meta/recipes-kernel/powertop/powertop_2.15.bb | |||
@@ -0,0 +1,24 @@ | |||
1 | SUMMARY = "Power usage tool" | ||
2 | DESCRIPTION = "Linux tool to diagnose issues with power consumption and power management." | ||
3 | HOMEPAGE = "https://01.org/powertop/" | ||
4 | BUGTRACKER = "https://app.devzing.com/powertopbugs/bugzilla" | ||
5 | DEPENDS = "ncurses libnl pciutils autoconf-archive-native" | ||
6 | LICENSE = "GPL-2.0-only" | ||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e" | ||
8 | |||
9 | SRC_URI = "git://github.com/fenrus75/powertop;protocol=https;branch=master \ | ||
10 | file://0001-wakeup_xxx.h-include-limits.h.patch \ | ||
11 | " | ||
12 | SRCREV = "d51ad395436d4d1dcc3ca46e1519ffeb475bf651" | ||
13 | |||
14 | S = "${WORKDIR}/git" | ||
15 | |||
16 | LDFLAGS:append = " -pthread" | ||
17 | |||
18 | inherit autotools gettext pkgconfig bash-completion | ||
19 | |||
20 | inherit update-alternatives | ||
21 | ALTERNATIVE:${PN} = "powertop" | ||
22 | ALTERNATIVE_TARGET[powertop] = "${sbindir}/powertop" | ||
23 | ALTERNATIVE_LINK_NAME[powertop] = "${sbindir}/powertop" | ||
24 | ALTERNATIVE_PRIORITY = "100" | ||