diff options
author | aaditya <aaditya_gnulinux@zoho.com> | 2014-02-09 15:16:26 +0700 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2014-02-11 12:15:07 -0600 |
commit | f9ea7faea93ad47b68d5aa4af47b88bd3695bf3d (patch) | |
tree | a67ffb11dbfc906550887d97086a0e7ee9302099 | |
parent | bba614f466830d48904d490b7d9e13a2bba5c9dc (diff) | |
download | slackbuilds-f9ea7faea93ad47b68d5aa4af47b88bd3695bf3d.tar.gz |
system/thermal_daemon: Updated for version 1.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | system/thermal_daemon/README | 2 | ||||
-rw-r--r-- | system/thermal_daemon/README.Slackware | 8 | ||||
-rw-r--r-- | system/thermal_daemon/thermal_daemon.SlackBuild | 15 | ||||
-rw-r--r-- | system/thermal_daemon/thermal_daemon.info | 6 |
4 files changed, 13 insertions, 18 deletions
diff --git a/system/thermal_daemon/README b/system/thermal_daemon/README index 22fa386321..9cca31e08c 100644 --- a/system/thermal_daemon/README +++ b/system/thermal_daemon/README @@ -19,5 +19,5 @@ Prefers kernel with to control RAPL if no RAPL powecap class driver is not present. Default - If none of the above available cpufreq to control P states. + If none of the above is available uses cpufreq to control P states. diff --git a/system/thermal_daemon/README.Slackware b/system/thermal_daemon/README.Slackware index 8080880562..601b654e72 100644 --- a/system/thermal_daemon/README.Slackware +++ b/system/thermal_daemon/README.Slackware @@ -1,12 +1,12 @@ -Since this is a daemon, it should be started at boot via /etc/rc.d/rc.local: +Since this is a daemon, it should be started at boot via /etc/rc.d/rc.local : /usr/bin/thermald Also it would need to be stopped before shutdown, so an entry could be added -to /etc/rc.d/rc.local_shutdown as well: +to /etc/rc.d/rc.local_shutdown as well : killall thermald CONFIG_X86_MSR is listed as an (optional) dependency, msr-tools -can be installed from https://01.org/msr-tools +can be installed from http://01.org/msr-tools via src2pkg (www.src2pkg.net/) If you installed a previous version of thermald, you may need to uninstall -that one and then re-install this one instead of upgrading. +it one and then re-install this one instead of upgrading. diff --git a/system/thermal_daemon/thermal_daemon.SlackBuild b/system/thermal_daemon/thermal_daemon.SlackBuild index 9d88d8bada..9ec834af3e 100644 --- a/system/thermal_daemon/thermal_daemon.SlackBuild +++ b/system/thermal_daemon/thermal_daemon.SlackBuild @@ -23,8 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=thermal_daemon -VERSION=${VERSION:-1.1_rc2} -SRCVERSION=$(echo $VERSION | tr _ -) +VERSION=${VERSION:-1.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -55,18 +54,14 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$SRCVERSION -if [ -e $CWD/$SRCVERSION.tar.gz ]; then - tar xvf $CWD/$SRCVERSION.tar.gz -else - tar xvf $CWD/$PRGNAM-$SRCVERSION.tar.gz -fi -cd $PRGNAM-$SRCVERSION +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/v$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ diff --git a/system/thermal_daemon/thermal_daemon.info b/system/thermal_daemon/thermal_daemon.info index 4c3f62cca6..c9d90aa02b 100644 --- a/system/thermal_daemon/thermal_daemon.info +++ b/system/thermal_daemon/thermal_daemon.info @@ -1,8 +1,8 @@ PRGNAM="thermal_daemon" -VERSION="1.1_rc2" +VERSION="1.1" HOMEPAGE="https://github.com/01org/thermal_daemon" -DOWNLOAD="https://github.com/01org/thermal_daemon/archive/v1.1-rc2.tar.gz" -MD5SUM="b1f9a4af05841a03fe430a2910568c14" +DOWNLOAD="https://github.com/01org/thermal_daemon/archive/v1.1.tar.gz" +MD5SUM="e30d0bd8fb32bd493df207aa34a48751" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |