opera hbbtv.
[vuplus_openembedded] / recipes / powertop / powertop.inc
1 DESCRIPTION = "PowerTOP, a tool that helps you find what software is using the most power."
2 HOMEPAGE = "http://www.linuxpowertop.org/"
3 LICENSE = "GPLv2"
4 DEPENDS = "virtual/libintl ncurses"
5
6 INC_PR = "r1"
7
8 SRC_URI = "http://www.lesswatts.org/projects/powertop/download/powertop-${PV}.tar.gz \
9            file://ldflags.patch;patch=1 \
10           "
11
12 CFLAGS = "${LDFLAGS}"
13
14 do_configure() {
15     # We do not build ncurses with wide char support
16     # sed -i -e "s/lncursesw/lncurses/" ${S}/Makefile
17     :
18 }
19
20 do_install() {
21     oe_runmake install DESTDIR=${D}
22 }
23
24
25 LDFLAGS_append_linux-uclibc = " -lintl"
26 LDFLAGS_append_linux-uclibceabi = " -lintl"
27 LDFLAGS_append_linux-uclibcspe = " -lintl"