summaryrefslogtreecommitdiff
path: root/graphics/nvidia-cg-toolkit/nvidia-cg-toolkit.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/nvidia-cg-toolkit/nvidia-cg-toolkit.SlackBuild')
-rw-r--r--graphics/nvidia-cg-toolkit/nvidia-cg-toolkit.SlackBuild11
1 files changed, 3 insertions, 8 deletions
diff --git a/graphics/nvidia-cg-toolkit/nvidia-cg-toolkit.SlackBuild b/graphics/nvidia-cg-toolkit/nvidia-cg-toolkit.SlackBuild
index 7b23d4efde..e547f75c12 100644
--- a/graphics/nvidia-cg-toolkit/nvidia-cg-toolkit.SlackBuild
+++ b/graphics/nvidia-cg-toolkit/nvidia-cg-toolkit.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for nvidia-cg-toolkit
-# Copyright 2009 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2009-2010 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,16 +23,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=nvidia-cg-toolkit
-VERSION=2.2_October2009
+VERSION=3.0_July2010
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -70,10 +68,7 @@ find . \
-exec chmod 644 {} \;
mv $PKG/usr/share/man $PKG/usr/man
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-)
+find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/etc/profile.d/
cat << EOF > $PKG/etc/profile.d/$PRGNAM.csh