diff options
-rw-r--r-- | packages/powertop/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/powertop/powertop_1.0.bb | 17 |
2 files changed, 17 insertions, 0 deletions
diff --git a/packages/powertop/.mtn2git_empty b/packages/powertop/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/powertop/.mtn2git_empty 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} +} + |