summaryrefslogtreecommitdiff
path: root/recipes/powertop/powertop.inc
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@datenfreihafen.org>2009-09-13 19:47:16 +0000
committerStefan Schmidt <stefan@datenfreihafen.org>2009-09-13 19:47:16 +0000
commitf16e56319742656189dcedf251bd2ea390d17c03 (patch)
treeda6fc09cbe15b76b6bb9eda5201cd5e13e7f94cd /recipes/powertop/powertop.inc
parent848446695abfdb3d3631d70ece7e74311f26d37c (diff)
parent34e6a1ce23f1ef5f627447286c4ae768d8bcb1ad (diff)
Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into org.openembedded.dev
Diffstat (limited to 'recipes/powertop/powertop.inc')
-rw-r--r--recipes/powertop/powertop.inc27
1 files changed, 27 insertions, 0 deletions
diff --git a/recipes/powertop/powertop.inc b/recipes/powertop/powertop.inc
new file mode 100644
index 0000000000..931abadc44
--- /dev/null
+++ b/recipes/powertop/powertop.inc
@@ -0,0 +1,27 @@
+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"
+
+INC_PR = "r1"
+
+SRC_URI = "http://www.lesswatts.org/projects/powertop/download/powertop-${PV}.tar.gz \
+ file://ldflags.patch;patch=1 \
+ "
+
+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}
+}
+
+
+LDFLAGS_append_linux-uclibc = " -lintl"
+LDFLAGS_append_linux-uclibceabi = " -lintl"
+LDFLAGS_append_linux-uclibcspe = " -lintl"