summaryrefslogtreecommitdiff
path: root/meta/packages/powertop/powertop_1.11.bb
diff options
context:
space:
mode:
authorDexuan Cui <dexuan.cui@intel.com>2010-07-20 18:15:15 +0800
committerRichard Purdie <rpurdie@linux.intel.com>2010-07-21 16:00:55 +0100
commit61d808bf4a5f93c1eccbf6dd2a22a57e849b641c (patch)
tree3fedd2d38a26603caf67377cf830eeebdbb508e3 /meta/packages/powertop/powertop_1.11.bb
parente2fa1ec4e959bea21c938da0ca21e3bd7bc89a5b (diff)
downloadopenembedded-core-61d808bf4a5f93c1eccbf6dd2a22a57e849b641c.tar.gz
openembedded-core-61d808bf4a5f93c1eccbf6dd2a22a57e849b641c.tar.bz2
openembedded-core-61d808bf4a5f93c1eccbf6dd2a22a57e849b641c.tar.xz
openembedded-core-61d808bf4a5f93c1eccbf6dd2a22a57e849b641c.zip
powertop: upgrade from 1.10 to the latest version 1.11
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Diffstat (limited to 'meta/packages/powertop/powertop_1.11.bb')
-rw-r--r--meta/packages/powertop/powertop_1.11.bb23
1 files changed, 23 insertions, 0 deletions
diff --git a/meta/packages/powertop/powertop_1.11.bb b/meta/packages/powertop/powertop_1.11.bb
new file mode 100644
index 000000000..371fc62e3
--- /dev/null
+++ b/meta/packages/powertop/powertop_1.11.bb
@@ -0,0 +1,23 @@
+DESCRIPTION = "PowerTOP, a tool that helps you find what software is using the most power."
+HOMEPAGE = "http://www.linuxpowertop.org/"
+BUGTRACKER = "http://bugzilla.lesswatts.org/"
+
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
+
+DEPENDS = "virtual/libintl ncurses"
+
+PR = "r0"
+
+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}
+}