diff options
| -rw-r--r-- | meta/packages/powertop/powertop_1.10.bb | 17 |
1 files changed, 17 insertions, 0 deletions
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 @@ | |||
| 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 | SRC_URI = "http://www.lesswatts.org/projects/powertop/download/powertop-${PV}.tar.gz" | ||
| 7 | |||
| 8 | CFLAGS += "${LDFLAGS}" | ||
| 9 | |||
| 10 | do_configure() { | ||
| 11 | # We do not build ncurses with wide char support | ||
| 12 | sed -i -e "s/lncursesw/lncurses/" ${S}/Makefile | ||
| 13 | } | ||
| 14 | |||
| 15 | do_install() { | ||
| 16 | oe_runmake install DESTDIR=${D} | ||
| 17 | } | ||
