summaryrefslogtreecommitdiff
path: root/packages/powertop/powertop_1.0.bb
diff options
context:
space:
mode:
authorLeon Woestenberg <leon.woestenberg@gmail.com>2007-05-13 16:28:23 +0000
committerLeon Woestenberg <leon.woestenberg@gmail.com>2007-05-13 16:28:23 +0000
commit313727b0373f84d562992725ee40efa8dadd95f1 (patch)
treef776489c9e7f8414ef8156e863d0cd3882d15a73 /packages/powertop/powertop_1.0.bb
parent0445d789a6a0acb7c4e1116f2a93716e15997bf3 (diff)
parent56bc45545814d51e22f8c4b34c9b9092a686490e (diff)
merge of 'a064aed240de1f35562230be92d3fcca8737b1f7'
and 'd48424df9926e99b728ea6dc1368cc414f09559c'
Diffstat (limited to 'packages/powertop/powertop_1.0.bb')
-rw-r--r--packages/powertop/powertop_1.0.bb17
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/powertop/powertop_1.0.bb b/packages/powertop/powertop_1.0.bb
new file mode 100644
index 0000000000..a06397bfc4
--- /dev/null
+++ b/packages/powertop/powertop_1.0.bb
@@ -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}
+}
+