From: Samuel Ortiz Date: Wed, 1 Oct 2008 15:16:25 +0000 (+0000) Subject: powertop: Add latest stable release X-Git-Tag: 2011-1~8149 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=d96b9e37ffb91fa67497f9fb6032e1da7f7dd81f;p=openembedded-core.git powertop: Add latest stable release git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5371 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- diff --git a/meta/packages/powertop/powertop_1.10.bb b/meta/packages/powertop/powertop_1.10.bb new file mode 100644 index 0000000000..4a429d68ba --- /dev/null +++ b/meta/packages/powertop/powertop_1.10.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 = "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} +}