From f2011318ece69ab27bad24f474d54422709bdc8f Mon Sep 17 00:00:00 2001 From: Dexuan Cui Date: Fri, 27 Aug 2010 17:11:02 +0800 Subject: powertop: upgrade from 1.11 to the latest version 1.13 update HOMEPAGE; add RRECOMMENDS_${PN} = "pciutils" as powertop 1.13 needs lspci; add EXTRA_OEMAKE = "VERSION=\"${PV}\" to make the build succeed; fix coding style: 4 SPACEs --> 1 TAB. fix RRECOMMENDS to RDEPENDS Signed-off-by: Dexuan Cui Signed-off-by: Saul Wold --- meta/recipes-kernel/powertop/powertop_1.11.bb | 23 ---------------------- meta/recipes-kernel/powertop/powertop_1.13.bb | 28 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 23 deletions(-) delete mode 100644 meta/recipes-kernel/powertop/powertop_1.11.bb create mode 100644 meta/recipes-kernel/powertop/powertop_1.13.bb (limited to 'meta/recipes-kernel/powertop') diff --git a/meta/recipes-kernel/powertop/powertop_1.11.bb b/meta/recipes-kernel/powertop/powertop_1.11.bb deleted file mode 100644 index 371fc62..0000000 --- a/meta/recipes-kernel/powertop/powertop_1.11.bb +++ /dev/null @@ -1,23 +0,0 @@ -DESCRIPTION = "PowerTOP, a tool that helps you find what software is using the most power." -HOMEPAGE = "http://www.linuxpowertop.org/" -BUGTRACKER = "http://bugzilla.lesswatts.org/" - -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" - -DEPENDS = "virtual/libintl ncurses" - -PR = "r0" - -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} -} diff --git a/meta/recipes-kernel/powertop/powertop_1.13.bb b/meta/recipes-kernel/powertop/powertop_1.13.bb new file mode 100644 index 0000000..c52f283 --- /dev/null +++ b/meta/recipes-kernel/powertop/powertop_1.13.bb @@ -0,0 +1,28 @@ +DESCRIPTION = "PowerTOP, a tool that helps you find what software is using the most power." +HOMEPAGE = "http://www.lesswatts.org/" +BUGTRACKER = "http://bugzilla.lesswatts.org/" + +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" + +DEPENDS = "virtual/libintl ncurses" + +# powertop 1.13 needs lspci +REPENDS_${PN} = "pciutils" + +PR = "r0" + +SRC_URI = "http://www.lesswatts.org/projects/powertop/download/powertop-${PV}.tar.gz" + +CFLAGS += "${LDFLAGS}" +EXTRA_OEMAKE = "VERSION=\"${PV}\"" + +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} +} + -- cgit v1.1