summaryrefslogtreecommitdiffstats
path: root/mobile
diff options
context:
space:
mode:
authorIsmael Luceno2016-11-26 01:54:47 -0200
committerIsmael Luceno2016-11-26 01:56:50 -0200
commitd78e331659c4754483da89b229afc16a4ce50695 (patch)
treee7d30edd1a6c1f465949982a3b7b0db8c32a7e7c /mobile
parent222a4f0f2349ef0bb0d8172f55b6343e9f78c78d (diff)
cpuspeed: new spell, Userspace cpufreq governor
Diffstat (limited to 'mobile')
-rwxr-xr-xmobile/cpuspeed/BUILD1
-rwxr-xr-xmobile/cpuspeed/DEPENDS1
-rwxr-xr-xmobile/cpuspeed/DETAILS22
-rw-r--r--mobile/cpuspeed/HISTORY2
-rwxr-xr-xmobile/cpuspeed/INSTALL2
5 files changed, 28 insertions, 0 deletions
diff --git a/mobile/cpuspeed/BUILD b/mobile/cpuspeed/BUILD
new file mode 100755
index 0000000000..d13930c5ae
--- /dev/null
+++ b/mobile/cpuspeed/BUILD
@@ -0,0 +1 @@
+make COPTS="$CFLAGS"
diff --git a/mobile/cpuspeed/DEPENDS b/mobile/cpuspeed/DEPENDS
new file mode 100755
index 0000000000..f148724504
--- /dev/null
+++ b/mobile/cpuspeed/DEPENDS
@@ -0,0 +1 @@
+depends -sub CXX gcc
diff --git a/mobile/cpuspeed/DETAILS b/mobile/cpuspeed/DETAILS
new file mode 100755
index 0000000000..af3acc1bac
--- /dev/null
+++ b/mobile/cpuspeed/DETAILS
@@ -0,0 +1,22 @@
+ SPELL=cpuspeed
+ VERSION=1.5
+ SOURCE="$SPELL-$VERSION.tar.bz2"
+ SOURCE_URL[0]=https://carlthompson.net/downloads/$SPELL/$SOURCE
+ SOURCE_HASH=sha512:3a73b8eb2552acc740d2717cbb4e35f1646b81963781bc4a48ea64e2da681c868455cac8db95db6139f0d5802fc876acdfcec8ca086cb78ea030cf05445bb3d6
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+ WEB_SITE="http://carlthompson.net/Software/CPUSpeed"
+ LICENSE[0]="GPLv2+"
+ ENTERED=20161126
+ KEYWORDS=""
+ SHORT="Userspace cpufreq governor"
+ DOCS+=' CONTRIBUTORS EXAMPLES FEATURES USAGE'
+cat << EOF
+CPUFreq is a Linux kernel subsystem which allows the clock speed of mobile
+CPUs (most often found in laptop computers) to be explicitly set. CPUSpeed
+dynamically controls CPUFreq, slowing down the CPU to conserve power and
+reduce heat when the system is idle, on battery power or overheating,
+and speeding up the CPU when the system is busy and more processing power
+is needed. Using CPUSpeed can significantly increase a laptop computer's
+battery life and significantly reduce the heat it generates while still
+allowing your system to perform at top speed when you need it.
+EOF
diff --git a/mobile/cpuspeed/HISTORY b/mobile/cpuspeed/HISTORY
new file mode 100644
index 0000000000..2c78bd90e3
--- /dev/null
+++ b/mobile/cpuspeed/HISTORY
@@ -0,0 +1,2 @@
+2016-11-26 Ismael Luceno <ismael@sourcemage.org>
+ * BUILD, DEPENDS, DETAILS, INSTALL: spell created
diff --git a/mobile/cpuspeed/INSTALL b/mobile/cpuspeed/INSTALL
new file mode 100755
index 0000000000..6709d0e8ee
--- /dev/null
+++ b/mobile/cpuspeed/INSTALL
@@ -0,0 +1,2 @@
+install -v -m755 -t "$INSTALL_ROOT"/sbin cpuspeed
+install -v -m644 -t "$INSTALL_ROOT"/etc/sysconfig cpuspeed.conf