diff options
author | Heinz Wiesinger <pprkut@liwjatan.at> | 2010-09-11 15:58:30 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-09-12 23:08:52 -0500 |
commit | ff249ef8ec5ed43bc9303194c3feb07092a2478c (patch) | |
tree | be9dcb95e960148afbadb9363c423090afb40236 /graphics/nvidia-cg-toolkit/nvidia-cg-toolkit.SlackBuild | |
parent | 0e3997a43902df2fd147ff3e606851d463c32cc1 (diff) | |
download | slackbuilds-ff249ef8ec5ed43bc9303194c3feb07092a2478c.tar.gz |
graphics/nvidia-cg-toolkit: Updated for version 3.0_July2010.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'graphics/nvidia-cg-toolkit/nvidia-cg-toolkit.SlackBuild')
-rw-r--r-- | graphics/nvidia-cg-toolkit/nvidia-cg-toolkit.SlackBuild | 11 |
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 |