diff options
Diffstat (limited to 'meta/recipes-kernel/powertop')
-rw-r--r-- | meta/recipes-kernel/powertop/powertop_1.13.bb | 11 |
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 |
12 | RDEPENDS_${PN} = "pciutils" | 12 | RDEPENDS_${PN} = "pciutils" |
13 | 13 | ||
14 | PR = "r1" | 14 | PR = "r2" |
15 | 15 | ||
16 | SRC_URI = "http://www.lesswatts.org/projects/powertop/download/powertop-${PV}.tar.gz \ | 16 | SRC_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 | ||
19 | SRC_URI[md5sum] = "78aa17c8f55178004223bf236654298e" | 20 | SRC_URI[md5sum] = "78aa17c8f55178004223bf236654298e" |
20 | SRC_URI[sha256sum] = "2bc866089496877dd26d2d316ad5763ab8ecb5e28aefba44bc5d355dcdc58d98" | 21 | SRC_URI[sha256sum] = "2bc866089496877dd26d2d316ad5763ab8ecb5e28aefba44bc5d355dcdc58d98" |
21 | 22 | ||
22 | CFLAGS += "${LDFLAGS}" | 23 | CFLAGS += "${LDFLAGS}" |
23 | EXTRA_OEMAKE = "VERSION=\"${PV}\"" | 24 | EXTRA_OEMAKE = "VERSION=\"${PV}\" EXTRA_LIBS=${EXTRA_LIBS}" |
25 | |||
26 | EXTRA_LIBS_libc-uclibc = "-lintl" | ||
24 | 27 | ||
25 | inherit update-alternatives | 28 | inherit update-alternatives |
26 | ALTERNATIVE_NAME = "powertop" | 29 | ALTERNATIVE_NAME = "powertop" |
@@ -30,7 +33,7 @@ ALTERNATIVE_PRIORITY = "100" | |||
30 | 33 | ||
31 | do_configure() { | 34 | do_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 | ||
36 | do_install() { | 39 | do_install() { |