diff options
Diffstat (limited to 'system/TLP')
-rw-r--r-- | system/TLP/TLP.SlackBuild | 15 | ||||
-rw-r--r-- | system/TLP/TLP.info | 8 |
2 files changed, 7 insertions, 16 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 diff --git a/system/TLP/TLP.info b/system/TLP/TLP.info index f94dc9823c..a801e77d29 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="" |