]> code.ossystems Code Review - openembedded-core.git/commitdiff
powertop: Add latest stable release
authorSamuel Ortiz <sameo@openedhand.com>
Wed, 1 Oct 2008 15:16:25 +0000 (15:16 +0000)
committerSamuel Ortiz <sameo@openedhand.com>
Wed, 1 Oct 2008 15:16:25 +0000 (15:16 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5371 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/packages/powertop/powertop_1.10.bb [new file with mode: 0644]

diff --git a/meta/packages/powertop/powertop_1.10.bb b/meta/packages/powertop/powertop_1.10.bb
new file mode 100644 (file)
index 0000000..4a429d6
--- /dev/null
@@ -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 = "virtual/libintl ncurses"
+
+SRC_URI = "http://www.lesswatts.org/projects/powertop/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}
+}