diff options
author | Edward W. Koenig <kingbeowulf@gmail.com> | 2017-02-17 23:08:10 +0000 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2017-02-17 23:08:34 +0000 |
commit | 4ddf4ff73f025074acc4e0c5c397f746e1d261a8 (patch) | |
tree | 86fff0b8a5e1b05eb9af5fc17049917f87a22081 /system/nvidia-legacy340-driver/nvidia-legacy340-driver.SlackBuild | |
parent | 43f71d957fb40ab190e97e5bc9ff8661cb2ce909 (diff) | |
download | slackbuilds-4ddf4ff73f025074acc4e0c5c397f746e1d261a8.tar.gz |
system/nvidia-legacy340-driver: Updated for version 340.102.
(* Security fix *)
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/nvidia-legacy340-driver/nvidia-legacy340-driver.SlackBuild')
-rw-r--r-- | system/nvidia-legacy340-driver/nvidia-legacy340-driver.SlackBuild | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/system/nvidia-legacy340-driver/nvidia-legacy340-driver.SlackBuild b/system/nvidia-legacy340-driver/nvidia-legacy340-driver.SlackBuild index a6ca6cdb29..b5ac5495df 100644 --- a/system/nvidia-legacy340-driver/nvidia-legacy340-driver.SlackBuild +++ b/system/nvidia-legacy340-driver/nvidia-legacy340-driver.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for nvidia-driver # Copyright 2007-2011 Heinz Wiesinger, Amsterdam, The Netherlands -# Copyright 2012-2015 Edward W. Koenig, Vancouver, WA, USA +# Copyright 2012-2017 Edward W. Koenig, Vancouver, WA, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ # See changelog.txt PRGNAM=nvidia-legacy340-driver -VERSION=${VERSION:-340.96} +VERSION=${VERSION:-340.102} MVERS=340 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -34,7 +34,7 @@ CPROXY=${CPROXY:-no} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -45,8 +45,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" TARGET="x86" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then @@ -114,13 +114,11 @@ install -m 755 libnvidia-ml.so.$VERSION $PKG/usr/lib$LIBDIRSUFFIX/ install -m 755 libnvidia-opencl.so.$VERSION $PKG/usr/lib$LIBDIRSUFFIX/ install -m 755 tls/libnvidia-tls.so.$VERSION $PKG/usr/lib$LIBDIRSUFFIX/tls/ install -m 755 libOpenCL.so.1.0.0 $PKG/usr/lib$LIBDIRSUFFIX/ +install -m 755 libvdpau_nvidia.so.$VERSION $PKG/usr/lib$LIBDIRSUFFIX/ # For 8-series GPU if libwfb.so is missing (ie older X servers). install -m 755 libnvidia-wfb.so.$VERSION $PKG/usr/lib$LIBDIRSUFFIX/xorg/modules/libnvidia-wfb.so.$VERSION-nvidia -# Don't forget separate libvdpau package on SBo. -install -m 755 libvdpau_nvidia.so.$VERSION $PKG/usr/lib$LIBDIRSUFFIX/ - install -m 644 nvidia.icd $PKG/etc/OpenCL/vendors/ # Add optional 32-bit support |