aboutsummaryrefslogtreecommitdiff
path: root/system/nvidia-driver/nvidia-driver.SlackBuild
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2010-05-11 22:26:51 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-11 22:26:51 +0200
commit9fef33508ca79a2a21d98511d74def8ce28cecff (patch)
treef10782c16cfa3eefbd19342d75be800bd4978734 /system/nvidia-driver/nvidia-driver.SlackBuild
parent721ba322e1d117a8829249c6ced9edf09f5d0788 (diff)
system/nvidia-driver: Updated for version 177.82
Diffstat (limited to 'system/nvidia-driver/nvidia-driver.SlackBuild')
-rw-r--r--system/nvidia-driver/nvidia-driver.SlackBuild15
1 files changed, 8 insertions, 7 deletions
diff --git a/system/nvidia-driver/nvidia-driver.SlackBuild b/system/nvidia-driver/nvidia-driver.SlackBuild
index 99292a23c5cfc..57be01303946d 100644
--- a/system/nvidia-driver/nvidia-driver.SlackBuild
+++ b/system/nvidia-driver/nvidia-driver.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for nvidia-driver
-# Copyright 2007-2008 Heinz Wiesinger <hmwiesinger@gmx.at>
+# Copyright 2007-2008 Heinz Wiesinger <pprkut@liwjatan.at>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
# Thanks to Robby Workman for suggestions to improve this script.
PRGNAM=nvidia-driver
-VERSION=169.09
+VERSION=177.82
ARCH=${ARCH:-i586}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -48,7 +48,7 @@ cd $SRCNAM
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
-mkdir -p $PKG/usr/{bin,share,lib,sbin} $PKG/usr/include/{cuda,GL} \
+mkdir -p $PKG/usr/{bin,share,lib,sbin} $PKG/usr/include/GL \
$PKG/usr/lib/xorg/modules/{drivers,extensions}
# Start with the libraries
@@ -74,13 +74,14 @@ cd -
# These are the includes
cd usr/include/GL
- for i in glext.h gl.h glxext.h glx.h; do
+ for i in glxext.h glext.h gl.h glx.h; do
cp -a $i $PKG/usr/include/GL/$i-nvidia
done
cd -
+mkdir -p $PKG/usr/include/cuda/
cd usr/include/cuda
- cp -a * $PKG/usr/include/cuda/
+ cp -a * $PKG/usr/include/cuda/
cd -
# Next come the apps
@@ -100,8 +101,8 @@ cd usr/share
cd -
# Self written bash script which I use to switch between nvidia and nv.
-# It is not necessary, but is very useful in general and for repairing
-# things or when removing the package. Feel free to remove this :)
+# It is now also used by doinst.sh to switch to the nvidia-driver right
+# after installation.
install -m 0755 $CWD/nvidia-switch $PKG/usr/sbin/
sed -i s/PKGVERSION/$VERSION/g $PKG/usr/sbin/nvidia-switch