summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-20 23:48:52 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:28:02 +0000
commita8a1d696b305f4ba7edae9908f91a6f2ed533088 (patch)
tree10a5c198577df1f0f3212f7bd6cc397fcd653fa3 /graphics
parentdfa028b360c9576918c2f3ec026e18037a609783 (diff)
downloadslackbuilds-a8a1d696b305f4ba7edae9908f91a6f2ed533088.tar.gz
graphics/nvidia-cg-toolkit: Allow VERSION override, i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/nvidia-cg-toolkit/nvidia-cg-toolkit.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/graphics/nvidia-cg-toolkit/nvidia-cg-toolkit.SlackBuild b/graphics/nvidia-cg-toolkit/nvidia-cg-toolkit.SlackBuild
index 7a5f3d9a27..c93dac3d8f 100644
--- a/graphics/nvidia-cg-toolkit/nvidia-cg-toolkit.SlackBuild
+++ b/graphics/nvidia-cg-toolkit/nvidia-cg-toolkit.SlackBuild
@@ -23,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=nvidia-cg-toolkit
-VERSION=3.1_April2012
+VERSION=${VERSION:-3.1_April2012}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -40,7 +40,7 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
+if [ "$ARCH" = "i586" ]; then
TARGET="x86"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then