summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/powertop/powertop_2.10.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-kernel/powertop/powertop_2.10.bb')
-rw-r--r--meta/recipes-kernel/powertop/powertop_2.10.bb13
1 files changed, 5 insertions, 8 deletions
diff --git a/meta/recipes-kernel/powertop/powertop_2.10.bb b/meta/recipes-kernel/powertop/powertop_2.10.bb
index 7b7b3929b3..f1b0e92b2b 100644
--- a/meta/recipes-kernel/powertop/powertop_2.10.bb
+++ b/meta/recipes-kernel/powertop/powertop_2.10.bb
@@ -6,25 +6,22 @@ DEPENDS = "ncurses libnl pciutils"
6LICENSE = "GPLv2" 6LICENSE = "GPLv2"
7LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e" 7LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e"
8 8
9SRC_URI = "https://01.org/sites/default/files/downloads/powertop-v${PV}.tar.gz \ 9SRC_URI = "git://github.com/fenrus75/powertop;protocol=https \
10 file://0001-wakeup_xxx.h-include-limits.h.patch \ 10 file://0001-wakeup_xxx.h-include-limits.h.patch \
11" 11"
12SRCREV = "e8765b5475b22b7a2b6e9e8a031c68a268a0b0b3"
12 13
13SRC_URI[md5sum] = "a69bd55901cf919cc564187402ea2c9c" 14S = "${WORKDIR}/git"
14SRC_URI[sha256sum] = "d3b7459eaba7d01c8841dd33a3b4d369416c01e9bd8951b0d88234cf18fe4a75"
15
16UPSTREAM_CHECK_URI = "https://01.org/powertop/downloads"
17UPSTREAM_CHECK_REGEX = "powertop-[v]?(?P<pver>\d+(\.\d+)+)\.tar"
18 15
19inherit autotools gettext pkgconfig 16inherit autotools gettext pkgconfig
20 17
21S = "${WORKDIR}/${BPN}-v${PV}"
22
23# we do not want libncursesw if we can 18# we do not want libncursesw if we can
24do_configure_prepend() { 19do_configure_prepend() {
25 # configure.ac checks for delwin() in "ncursesw ncurses" so let's drop first one 20 # configure.ac checks for delwin() in "ncursesw ncurses" so let's drop first one
26 sed -i -e "s/ncursesw//g" ${S}/configure.ac 21 sed -i -e "s/ncursesw//g" ${S}/configure.ac
27 mkdir -p ${B}/src/tuning/ 22 mkdir -p ${B}/src/tuning/
23 echo "${PV}" > ${S}/version-long
24 echo "${PV}" > ${S}/version-short
28} 25}
29 26
30inherit update-alternatives 27inherit update-alternatives