aboutsummaryrefslogtreecommitdiff
path: root/system/TLP
diff options
context:
space:
mode:
authorAaditya Bagga <aaditya_gnulinux@zoho.com>2016-09-19 21:56:12 +0530
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-09-19 23:47:50 +0700
commit70403c963581a5b705486335c62fe1d2ad57d17f (patch)
treeb744d78ee6651440c67f49717e689bfed8b8a99d /system/TLP
parent0f1f0961ac2a219b95ad8f9d823c5b84552623cb (diff)
system/TLP: Updated for version 0.9.
Diffstat (limited to 'system/TLP')
-rw-r--r--system/TLP/TLP.SlackBuild15
-rw-r--r--system/TLP/TLP.info8
2 files changed, 7 insertions, 16 deletions
diff --git a/system/TLP/TLP.SlackBuild b/system/TLP/TLP.SlackBuild
index cab9621f337a1..c3b97dc12df1d 100644
--- a/system/TLP/TLP.SlackBuild
+++ b/system/TLP/TLP.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=TLP
-VERSION=${VERSION:-0.8}
+VERSION=${VERSION:-0.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -82,7 +82,8 @@ sed "s/usr\/lib/usr\/lib${LIBDIRSUFFIX}/" -i Makefile
# Correct sourcing of non-existant file
sed 's|. \/lib\/lsb\/init-functions|#. \/lib\/lsb\/init-functions|' -i tlp.init
-make install-tlp DESTDIR=$PKG
+export TLP_MAN=/usr/man
+make install-tlp install-man DESTDIR=$PKG
# Don't clobber configs
mv $PKG/etc/default/tlp $PKG/etc/default/tlp.new
@@ -91,16 +92,6 @@ mv $PKG/etc/default/tlp $PKG/etc/default/tlp.new
mv $PKG/etc/rc.d/tlp $PKG/etc/rc.d/rc.tlp.new
chmod 644 $PKG/etc/rc.d/rc.tlp.new
-# install man files
-mkdir -p $PKG/usr/man/man{1,8}
-install -m 644 man/bluetooth.1 $PKG/usr/man/man1/
-install -m 644 man/run-on-ac.1 $PKG/usr/man/man1/
-install -m 644 man/run-on-bat.1 $PKG/usr/man/man1/
-install -m 644 man/wifi.1 $PKG/usr/man/man1/
-install -m 644 man/wwan.1 $PKG/usr/man/man1/
-install -m 644 man/tlp.8 $PKG/usr/man/man8/
-install -m 644 man/tlp-stat.8 $PKG/usr/man/man8/
-
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
diff --git a/system/TLP/TLP.info b/system/TLP/TLP.info
index f94dc9823c304..a801e77d29d71 100644
--- a/system/TLP/TLP.info
+++ b/system/TLP/TLP.info
@@ -1,8 +1,8 @@
PRGNAM="TLP"
-VERSION="0.8"
-HOMEPAGE="http://linrunner.de/en/tlp/tlp.html"
-DOWNLOAD="http://github.com/linrunner/TLP/archive/0.8.tar.gz"
-MD5SUM="d53ef993ce96ccff904d6caad1f14006"
+VERSION="0.9"
+HOMEPAGE="https://github.com/linrunner/TLP"
+DOWNLOAD="http://github.com/linrunner/TLP/archive/0.9.tar.gz"
+MD5SUM="952712c5de56e5fcb9a165b1cd8ba4e0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""