summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2007-06-06 12:26:41 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2007-06-06 12:26:41 +0000
commit0d6e9946d54af11462806d8aa9a2b81e151c87ab (patch)
tree14a31bfa13f7130b53ec2b47734a335129b921bd
parenteb01cc64dd1e4d3123cfaf9944cd4d03c1b1056f (diff)
powertop: update to 1.5
-rw-r--r--packages/powertop/powertop_1.5.bb (renamed from packages/powertop/powertop_1.2.bb)8
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/powertop/powertop_1.2.bb b/packages/powertop/powertop_1.5.bb
index 2f9c7e44b0..ab84161ddc 100644
--- a/packages/powertop/powertop_1.2.bb
+++ b/packages/powertop/powertop_1.5.bb
@@ -1,9 +1,17 @@
DESCRIPTION = "PowerTOP, a tool that helps you find what software is using the most power."
HOMEPAGE = "http://www.linuxpowertop.org/"
LICENSE = "GPLv2"
+DEPENDS = "ncurses"
SRC_URI = "http://www.linuxpowertop.org/download/powertop-${PV}.tar.gz"
+CFLAGS += "${LDFLAGS}"
+
+do_configure() {
+ # We do not build ncurses with wide char support
+ sed -i -e "s/lncursesw/lncurses/" ${S}/Makefile
+}
+
do_install() {
oe_runmake install DESTDIR=${D}
}