diff options
Diffstat (limited to 'meta/packages')
-rw-r--r-- | meta/packages/powertop/powertop_1.9.bb | 17 | ||||
-rw-r--r-- | meta/packages/tasks/task-poky.bb | 3 |
2 files changed, 19 insertions, 1 deletions
diff --git a/meta/packages/powertop/powertop_1.9.bb b/meta/packages/powertop/powertop_1.9.bb new file mode 100644 index 000000000..ab84161dd --- /dev/null +++ b/meta/packages/powertop/powertop_1.9.bb @@ -0,0 +1,17 @@ +DESCRIPTION = "PowerTOP, a tool that helps you find what software is using the most power." +HOMEPAGE = "http://www.linuxpowertop.org/" +LICENSE = "GPLv2" +DEPENDS = "ncurses" + +SRC_URI = "http://www.linuxpowertop.org/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} +} diff --git a/meta/packages/tasks/task-poky.bb b/meta/packages/tasks/task-poky.bb index f001f577e..e208b79a7 100644 --- a/meta/packages/tasks/task-poky.bb +++ b/meta/packages/tasks/task-poky.bb @@ -3,7 +3,7 @@ # DESCRIPTION = "Tasks for OpenedHand Poky" -PR = "r15" +PR = "r16" PACKAGES = "\ task-poky-apps-console \ @@ -115,6 +115,7 @@ RDEPENDS_task-poky-tools-profile = "\ exmap-server \ oprofile \ oprofileui-server \ + powertop \ lttng-control \ lttng-viewer" |