[oe-commits] org.oe.dev powertop: add 1.0

koen commit openembedded-commits at lists.openembedded.org
Sun May 13 14:58:17 UTC 2007


powertop: add 1.0

Power usage is a hot topic for computer users everywhere. For some, it's a matter of how long a laptop lasts without being plugged in. For others, it's controlling the temperature of hundreds of systems within a datacenter. For all of us, it's about keeping the electricity bill under control and being kind to the environment.

Getting your computer to use the least amount of power can be problematic. This site provides information on reducing power usage, tips, and tricks for Intel-based computers running Linux*.

As a first step, Intel is releasing PowerTOP, a tool that helps you find what software is using the most power. By fixing (or closing) these applications or processes, you can immediately see the power savings in the tool. You'll also see the estimated time left for battery power if you are running a laptop.

Author: koen at openembedded.org
Branch: org.openembedded.dev
Revision: e9855a52f27c3ef46f5aa062056993e5c49198db
ViewMTN: http://monotone.openembedded.org/revision.psp?id=e9855a52f27c3ef46f5aa062056993e5c49198db
Files:
1
packages/powertop
packages/powertop/powertop_1.0.bb
Diffs:

#
# mt diff -rf4332ab909161edc24998ae9d76f3783c84279b4 -re9855a52f27c3ef46f5aa062056993e5c49198db
#
# 
# 
# add_dir "packages/powertop"
# 
# add_file "packages/powertop/powertop_1.0.bb"
#  content [e510bf82a34dc9c5666ecaa8ba09c40a60418076]
# 
============================================================
--- packages/powertop/powertop_1.0.bb	e510bf82a34dc9c5666ecaa8ba09c40a60418076
+++ packages/powertop/powertop_1.0.bb	e510bf82a34dc9c5666ecaa8ba09c40a60418076
@@ -0,0 +1,17 @@
+DESCRIPTION = "PowerTOP, a tool that helps you find what software is using the most power."
+LICENSE = "GPLv2"
+
+SRC_URI = "http://www.linuxpowertop.org/download/powertop-${PV}.tar.gz"
+
+S = "${WORKDIR}/${PN}"
+
+
+do_compile() {
+       ${CC} -Wall -W -O1 -g powertop.c config.c -o powertop
+}
+
+do_install() {
+        install -d ${D}${bindir}
+        install -m 755 powertop ${D}${bindir}
+}
+






More information about the Openembedded-commits mailing list