diff options
Diffstat (limited to 'system/nvidia-driver/nvidia-driver.SlackBuild')
-rw-r--r-- | system/nvidia-driver/nvidia-driver.SlackBuild | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/system/nvidia-driver/nvidia-driver.SlackBuild b/system/nvidia-driver/nvidia-driver.SlackBuild index 99292a23c5..57be013039 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 |