diff options
author | Heinz Wiesinger <pprkut@liwjatan.at> | 2010-04-07 23:44:53 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-15 10:24:49 +0200 |
commit | eb5c77cca11ced21253edd37ca44821bea016228 (patch) | |
tree | 9ee441e29a5bed4667117553c1aec0fdda425efa /system/nvidia-legacy173-driver/nvidia-legacy173-driver.SlackBuild | |
parent | 44901a95d074be9dc88b4a3c09071ad1eec714b7 (diff) |
system/nvidia-legacy173-driver: Updated for version 173.14.25.
Diffstat (limited to 'system/nvidia-legacy173-driver/nvidia-legacy173-driver.SlackBuild')
-rw-r--r-- | system/nvidia-legacy173-driver/nvidia-legacy173-driver.SlackBuild | 29 |
1 files changed, 24 insertions, 5 deletions
diff --git a/system/nvidia-legacy173-driver/nvidia-legacy173-driver.SlackBuild b/system/nvidia-legacy173-driver/nvidia-legacy173-driver.SlackBuild index fa7722ee38ae7..5e4da9777456c 100644 --- a/system/nvidia-legacy173-driver/nvidia-legacy173-driver.SlackBuild +++ b/system/nvidia-legacy173-driver/nvidia-legacy173-driver.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for nvidia-legacy173-driver -# Copyright 2007-2009 Heinz Wiesinger, Amsterdam, The Netherlands +# Copyright 2007-2010 Heinz Wiesinger, Amsterdam, The Netherlands # 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-legacy173-driver -VERSION=173.14.22 +VERSION=173.14.25 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -64,6 +64,8 @@ mkdir -p $PKG/usr/{bin,share,lib$LIBDIRSUFFIX,sbin} $PKG/usr/include/GL \ # Start with the libraries cd usr/lib + #remove duplicate libnvidia-tls + rm libnvidia-tls.so.$VERSION cp -a * $PKG/usr/lib$LIBDIRSUFFIX #Rename those files which would overwrite xorg's original files for i in libGL.so.$VERSION libGLcore.so.$VERSION; do @@ -108,6 +110,24 @@ cd usr/share cp -a man* $PKG/usr/ cd - +# symlinks +cd $PKG/usr/lib$LIBDIRSUFFIX + for i in libnvidia-cfg libcuda; do + ln -s $i.so.$VERSION $i.so.1 + ln -s $i.so.1 $i.so + done + ln -sf tls/libnvidia-tls.so.$VERSION libnvidia-tls.so.1 + ln -sf libXvMCNVIDIA.so.$VERSION libXvMCNVIDIA_dynamic.so.1 +cd - + +cd $PKG/usr/lib$LIBDIRSUFFIX/tls + ln -sf libnvidia-tls.so.$VERSION libnvidia-tls.so.1 +cd - + +cd $PKG/usr/lib$LIBDIRSUFFIX/xorg/modules + ln -sf libnvidia-wfb.so.$VERSION libnvidia-wfb.so.1 +cd - + # Self written bash script which I use to switch between nvidia and nv. # It is now also used by doinst.sh to switch to the nvidia-driver right # after installation. @@ -131,8 +151,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install sed "s/PKGVERSION/$VERSION/g" $CWD/slack-desc > $PKG/install/slack-desc -sed "s/PKGVERSION/$VERSION/g" $CWD/doinst.sh > $PKG/install/doinst.sh -sed -i "s/LIBDIRSUFFIX/$LIBDIRSUFFIX/g" $PKG/install/doinst.sh +cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG -/sbin/makepkg -l n -c n $OUTPUT/$PRGNAM-$VERSION-$TARGET-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$TARGET-$BUILD$TAG.${PKGTYPE:-tgz} |