summaryrefslogtreecommitdiff
path: root/graphics/nvidia-cg-toolkit/nvidia-cg-toolkit.SlackBuild
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2012-05-07 23:03:34 -0400
committerdsomero <xgizzmo@slackbuilds.org>2012-05-07 23:03:34 -0400
commit15ffe0a26e367f1cf91ae9e6d3fe91976611e7a4 (patch)
tree18bc24207a6869ab34456832e8a6d455ce8b190a /graphics/nvidia-cg-toolkit/nvidia-cg-toolkit.SlackBuild
parent8c0e39a8fd347d7a48b63fb583e522c4e55fb875 (diff)
downloadslackbuilds-15ffe0a26e367f1cf91ae9e6d3fe91976611e7a4.tar.gz
graphics/nvidia-cg-toolkit: Updated for version 3.1_April2012.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'graphics/nvidia-cg-toolkit/nvidia-cg-toolkit.SlackBuild')
-rw-r--r--graphics/nvidia-cg-toolkit/nvidia-cg-toolkit.SlackBuild9
1 files changed, 3 insertions, 6 deletions
diff --git a/graphics/nvidia-cg-toolkit/nvidia-cg-toolkit.SlackBuild b/graphics/nvidia-cg-toolkit/nvidia-cg-toolkit.SlackBuild
index e547f75c12..44835776a5 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-2010 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2009-2012 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=nvidia-cg-toolkit
-VERSION=3.0_July2010
+VERSION=3.1_April2012
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -67,9 +67,6 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-mv $PKG/usr/share/man $PKG/usr/man
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-
mkdir -p $PKG/etc/profile.d/
cat << EOF > $PKG/etc/profile.d/$PRGNAM.csh
#!/bin/csh
@@ -83,7 +80,7 @@ chmod 0755 $PKG/etc/profile.d/*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
mv $PKG/usr/local/Cg/* $PKG/usr/doc/$PRGNAM-$VERSION/
-rmdir $PKG/usr/local/Cg $PKG/usr/local $PKG/usr/share
+rmdir $PKG/usr/local/Cg $PKG/usr/local
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install