summaryrefslogtreecommitdiff
path: root/meta/packages/powertop
diff options
context:
space:
mode:
authorRoss Burton <ross@openedhand.com>2008-01-21 16:56:08 +0000
committerRoss Burton <ross@openedhand.com>2008-01-21 16:56:08 +0000
commit5bf734fe498713097c887960dd566a57f43cab68 (patch)
tree0511e64c5b981131f5232e3f9e5922c4e7e09ba7 /meta/packages/powertop
parent77c6b60b301e2f1092064d6f62064dcd2ebfeb17 (diff)
downloadopenembedded-core-5bf734fe498713097c887960dd566a57f43cab68.tar.gz
openembedded-core-5bf734fe498713097c887960dd566a57f43cab68.tar.bz2
openembedded-core-5bf734fe498713097c887960dd566a57f43cab68.tar.xz
openembedded-core-5bf734fe498713097c887960dd566a57f43cab68.zip
Add powertop recipe, and add to profiling task
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3564 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/powertop')
-rw-r--r--meta/packages/powertop/powertop_1.9.bb17
1 files changed, 17 insertions, 0 deletions
diff --git a/meta/packages/powertop/powertop_1.9.bb b/meta/packages/powertop/powertop_1.9.bb
new file mode 100644
index 000000000..ab84161dd
--- /dev/null
+++ b/meta/packages/powertop/powertop_1.9.bb
@@ -0,0 +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}
+}