diff options
author | Aaditya Bagga <aaditya_gnulinux@zoho.com> | 2016-09-19 21:56:12 +0530 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-09-19 23:47:50 +0700 |
commit | 70403c963581a5b705486335c62fe1d2ad57d17f (patch) | |
tree | b744d78ee6651440c67f49717e689bfed8b8a99d /system/TLP/TLP.SlackBuild | |
parent | 0f1f0961ac2a219b95ad8f9d823c5b84552623cb (diff) | |
download | slackbuilds-70403c963581a5b705486335c62fe1d2ad57d17f.tar.gz |
system/TLP: Updated for version 0.9.
Diffstat (limited to 'system/TLP/TLP.SlackBuild')
-rw-r--r-- | system/TLP/TLP.SlackBuild | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/system/TLP/TLP.SlackBuild b/system/TLP/TLP.SlackBuild index cab9621f33..c3b97dc12d 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 |