aboutsummaryrefslogtreecommitdiff
path: root/system/nvidia-legacy304-kernel/nvidia-legacy304-kernel.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/nvidia-legacy304-kernel/nvidia-legacy304-kernel.SlackBuild')
-rw-r--r--system/nvidia-legacy304-kernel/nvidia-legacy304-kernel.SlackBuild27
1 files changed, 5 insertions, 22 deletions
diff --git a/system/nvidia-legacy304-kernel/nvidia-legacy304-kernel.SlackBuild b/system/nvidia-legacy304-kernel/nvidia-legacy304-kernel.SlackBuild
index 1cf3b530ea2c6..4c18b7deff867 100644
--- a/system/nvidia-legacy304-kernel/nvidia-legacy304-kernel.SlackBuild
+++ b/system/nvidia-legacy304-kernel/nvidia-legacy304-kernel.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for nvidia-kernel
# Copyright 2007-2011 Heinz Wiesinger, Amsterdam, The Netherlands
-# Copyright 2011-2013 Edward W. Koenig, Vancouver, WA, USA
+# Copyright 2011-2015 Edward W. Koenig, Vancouver, WA, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,24 +25,10 @@
# Thanks to Robby Workman for suggestions to improve this script.
#
-# ChangeLog
-# ------------------------------------------------------------------------------
-# 1.0 20-MAR-2011 New Maintainer: Edward W. Koenig <kingbeowulf@gmail.com>
-# 1.1 10-APR-2011 updated to new version, testing 13.37rc4.6692
-# 1.2 27-MAY-2011 new version, blacklist nouveau, fix ups, tested 13.37-stable
-# 1.5 01-JULY-2011 new version, kill SRCSUFFIX nonsense, use blacklist in /extra
-# 1.6 30-AUG-2011 version bump, typo clean ups
-# 1.7 21-OCT-2011 version bump.
-# 1.7 26-DEC-2011 version bump
-# 1.8 24-MAR-2012 new version
-# 1.9 15-JUL-2012 new version - Short Lived Branch
-# 2.0 25-SEP-2012 new version - Long Lived Branch
-# 3.0 06-JUL-2013 Legacy 304 branch
-# 3.1 22-SEP-2013 version update
-# 3.1a 04-NOV-2013 remove missing docs, check for 14.1 release
+# See changelog.txt
PRGNAM=nvidia-legacy304-kernel
-VERSION=304.108
+VERSION=${VERSION:-304.125}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -51,8 +37,6 @@ KERNELPATH=${KERNELPATH:-/lib/modules/${KERNEL}/build}
PKGVER=${VERSION}_$(echo $KERNEL | tr - _)
-COMPAT32=""
-
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
@@ -69,12 +53,11 @@ elif [ "$ARCH" = "i686" ]; then
SRCSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
TARGET="x86_64"
- COMPAT32="-no-compat32"
fi
unset ARCH
-SRCNAM=NVIDIA-Linux-$TARGET-${VERSION}$COMPAT32
+SRCNAM=NVIDIA-Linux-$TARGET-${VERSION}
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
@@ -92,7 +75,7 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
cd kernel || exit 1