mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-04 20:29:09 +01:00
system/thinkfan: Updated for version 1.0.1.
This commit is contained in:
parent
2b5eefd64a
commit
69ec008a65
2 changed files with 10 additions and 8 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Slackware build script for thinkfan
|
||||
|
||||
# Copyright 2014 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
|
||||
# Copyright 2014-2019 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -23,7 +23,7 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=thinkfan
|
||||
VERSION=${VERSION:-0.9.3}
|
||||
VERSION=${VERSION:-1.0.1}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -69,7 +69,6 @@ find -L . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
mv src/thinkfan.1 .
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake \
|
||||
|
@ -77,7 +76,9 @@ cd build
|
|||
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-D USE_ATASMART:BOOL=ON ..
|
||||
-DUSE_ATASMART:BOOL=ON \
|
||||
-DUSE_YAML:BOOL=OFF \
|
||||
..
|
||||
make install DESTDIR=$PKG
|
||||
cd ..
|
||||
|
||||
|
@ -96,6 +97,7 @@ mkdir -p $PKG/usr/doc
|
|||
# docs are installed in the wrong location
|
||||
mv $PKG/usr/share/doc/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
rmdir $PKG/usr/share/doc
|
||||
rmdir $PKG/usr/share
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="thinkfan"
|
||||
VERSION="0.9.3"
|
||||
HOMEPAGE="http://thinkfan.sourceforge.net/"
|
||||
DOWNLOAD="http://sourceforge.net/projects/thinkfan/files/thinkfan-0.9.3.tar.gz"
|
||||
MD5SUM="1519f3a098a414fad6557720414b1689"
|
||||
VERSION="1.0.1"
|
||||
HOMEPAGE="https://github.com/vmatare/thinkfan"
|
||||
DOWNLOAD="https://github.com/vmatare/thinkfan/archive/1.0.1/thinkfan-1.0.1.tar.gz"
|
||||
MD5SUM="6ab6ef0c12809be7fa8be3d65b49f785"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in a new issue