aboutsummaryrefslogtreecommitdiff
path: root/libraries/libxnvctrl/libxnvctrl.SlackBuild
diff options
context:
space:
mode:
authorM.Dinslage <daedra1980@gmail.com>2020-05-15 21:53:26 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-05-15 21:53:26 +0700
commitc499130428946a93114c0226954e0b3228a0e469 (patch)
treeaea763b1cb4696aa9668803c279a04adbba72da7 /libraries/libxnvctrl/libxnvctrl.SlackBuild
parentf62ed0a22ce337e6887e3cbbd5a5c75749241b93 (diff)
libraries/libxnvctrl: Updated for version 440.82.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libxnvctrl/libxnvctrl.SlackBuild')
-rw-r--r--libraries/libxnvctrl/libxnvctrl.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/libraries/libxnvctrl/libxnvctrl.SlackBuild b/libraries/libxnvctrl/libxnvctrl.SlackBuild
index ba8aeeb335b20..1394d30d9effa 100644
--- a/libraries/libxnvctrl/libxnvctrl.SlackBuild
+++ b/libraries/libxnvctrl/libxnvctrl.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libxnvctrl
-VERSION=${VERSION:-418.43}
+VERSION=${VERSION:-440.82}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -70,7 +70,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
#patch source to build static and shared library
-patch -p1 < $CWD/libxnvctrl_so.patch
+patch -p0 < $CWD/libxnvctrl_so.patch
cd src/libXNVCtrl
make clean
@@ -79,8 +79,8 @@ make
#install shared and static libraries and headers
install -Dm 644 *.h -t $PKG/usr/include/NVCtrl
-install -Dm 644 libXNVCtrl.a -t $PKG/usr/lib$LIBDIRSUFFIX
-install -Dm 755 libXNVCtrl.so.0.0.0 -t $PKG/usr/lib$LIBDIRSUFFIX
+install -Dm 644 _out/*/libXNVCtrl.a -t $PKG/usr/lib$LIBDIRSUFFIX
+install -Dm 755 _out/*/libXNVCtrl.so.0.0.0 -t $PKG/usr/lib$LIBDIRSUFFIX
ln -s libXNVCtrl.so.0.0.0 $PKG/usr/lib$LIBDIRSUFFIX/libXNVCtrl.so.0
ln -s libXNVCtrl.so.0 $PKG/usr/lib$LIBDIRSUFFIX/libXNVCtrl.so