diff options
author | Khem Raj <raj.khem@gmail.com> | 2009-09-11 23:31:12 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2009-09-11 23:35:07 -0700 |
commit | 53c0673ba015ba400d4e18fef5c5903830a06c09 (patch) | |
tree | 2cce6ccdd94a0713614fc5c8b85b665287e47bcf /recipes/powertop/powertop_1.10.bb | |
parent | aa6a11a7168bf804925f78f9003920bce4b3a5e9 (diff) |
powertop: Make it compile on uclibc.
* Use INC_PR
* Move common stuff to powertop.inc
* Add -lint for uclibc bases systems
* Add a patch to tinker with order of CFLAGS
in commandline
* Eliminate the sed expression in favor of a
patch to substitute nsursesw with ncurses
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes/powertop/powertop_1.10.bb')
-rw-r--r-- | recipes/powertop/powertop_1.10.bb | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/recipes/powertop/powertop_1.10.bb b/recipes/powertop/powertop_1.10.bb index 4a429d68ba..49da90e423 100644 --- a/recipes/powertop/powertop_1.10.bb +++ b/recipes/powertop/powertop_1.10.bb @@ -1,17 +1,2 @@ -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} -} +require powertop.inc +PR = "${INC_PR}.0" |