summaryrefslogtreecommitdiff
path: root/packages/cpuspeed/cpuspeed_1.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/cpuspeed/cpuspeed_1.1.bb')
-rw-r--r--packages/cpuspeed/cpuspeed_1.1.bb19
1 files changed, 19 insertions, 0 deletions
diff --git a/packages/cpuspeed/cpuspeed_1.1.bb b/packages/cpuspeed/cpuspeed_1.1.bb
index e69de29bb2..f27df18992 100644
--- a/packages/cpuspeed/cpuspeed_1.1.bb
+++ b/packages/cpuspeed/cpuspeed_1.1.bb
@@ -0,0 +1,19 @@
+DESCRIPTION = "Userspace cpufreq governor"
+SECTION = "base"
+PRIORITY = "optional"
+LICENSE = "GPL"
+
+SRC_URI = "http://carlthompson.net/dl/cpuspeed/cpuspeed-${PV}.tar.gz"
+S = "${WORKDIR}/cpuspeed-${PV}"
+
+FILES_${PN} = "/sbin/cpuspeed"
+
+do_compile() {
+ ${CXX} ${TARGET_CXXFLAGS} ${LDFLAGS} -o cpuspeed cpuspeed.cc
+}
+
+do_install() {
+ install -d ${D}/${base_sbindir}
+ install -m 0755 cpuspeed ${D}/${base_sbindir}/cpuspeed
+}
+