summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/powertop/powertop_1.13.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-kernel/powertop/powertop_1.13.bb')
-rw-r--r--meta/recipes-kernel/powertop/powertop_1.13.bb11
1 files changed, 7 insertions, 4 deletions
diff --git a/meta/recipes-kernel/powertop/powertop_1.13.bb b/meta/recipes-kernel/powertop/powertop_1.13.bb
index 472a2bbcff..b08f65c684 100644
--- a/meta/recipes-kernel/powertop/powertop_1.13.bb
+++ b/meta/recipes-kernel/powertop/powertop_1.13.bb
@@ -11,16 +11,19 @@ DEPENDS = "virtual/libintl ncurses"
11# powertop 1.13 needs lspci 11# powertop 1.13 needs lspci
12RDEPENDS_${PN} = "pciutils" 12RDEPENDS_${PN} = "pciutils"
13 13
14PR = "r1" 14PR = "r2"
15 15
16SRC_URI = "http://www.lesswatts.org/projects/powertop/download/powertop-${PV}.tar.gz \ 16SRC_URI = "http://www.lesswatts.org/projects/powertop/download/powertop-${PV}.tar.gz \
17 file://stub_out_the_ncurses_calls_in_dump_mode.patch" 17 file://stub_out_the_ncurses_calls_in_dump_mode.patch \
18 "
18 19
19SRC_URI[md5sum] = "78aa17c8f55178004223bf236654298e" 20SRC_URI[md5sum] = "78aa17c8f55178004223bf236654298e"
20SRC_URI[sha256sum] = "2bc866089496877dd26d2d316ad5763ab8ecb5e28aefba44bc5d355dcdc58d98" 21SRC_URI[sha256sum] = "2bc866089496877dd26d2d316ad5763ab8ecb5e28aefba44bc5d355dcdc58d98"
21 22
22CFLAGS += "${LDFLAGS}" 23CFLAGS += "${LDFLAGS}"
23EXTRA_OEMAKE = "VERSION=\"${PV}\"" 24EXTRA_OEMAKE = "VERSION=\"${PV}\" EXTRA_LIBS=${EXTRA_LIBS}"
25
26EXTRA_LIBS_libc-uclibc = "-lintl"
24 27
25inherit update-alternatives 28inherit update-alternatives
26ALTERNATIVE_NAME = "powertop" 29ALTERNATIVE_NAME = "powertop"
@@ -30,7 +33,7 @@ ALTERNATIVE_PRIORITY = "100"
30 33
31do_configure() { 34do_configure() {
32 # We do not build ncurses with wide char support 35 # We do not build ncurses with wide char support
33 sed -i -e "s/lncursesw/lncurses/" ${S}/Makefile 36 sed -i -e 's:lncursesw:lncurses ${EXTRA_LIBS}:g' ${S}/Makefile
34} 37}
35 38
36do_install() { 39do_install() {