summaryrefslogtreecommitdiff
path: root/system/nvidia-kernel
diff options
context:
space:
mode:
authorEdward Koenig <kingbeowulf@gmail.com>2013-12-15 15:32:15 +0100
committerErik Hanson <erik@slackbuilds.org>2013-12-17 11:00:30 -0600
commit479d0b6bab99d3a8da4c97b9709169e2368230ab (patch)
tree0e45bd0d7de7ba8bb906cd40409ed1b1bb5eea69 /system/nvidia-kernel
parentb9b91736505c9ed377686ea6f726ca5535b97db2 (diff)
downloadslackbuilds-479d0b6bab99d3a8da4c97b9709169e2368230ab.tar.gz
system/nvidia-kernel: Updated for version 331.20, cleanups.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/nvidia-kernel')
-rw-r--r--system/nvidia-kernel/nvidia-kernel.SlackBuild16
-rw-r--r--system/nvidia-kernel/nvidia-kernel.info10
2 files changed, 15 insertions, 11 deletions
diff --git a/system/nvidia-kernel/nvidia-kernel.SlackBuild b/system/nvidia-kernel/nvidia-kernel.SlackBuild
index 5ba533796f..13adf618ef 100644
--- a/system/nvidia-kernel/nvidia-kernel.SlackBuild
+++ b/system/nvidia-kernel/nvidia-kernel.SlackBuild
@@ -41,9 +41,10 @@
# 2.3 15-FEB-2013 new version - Long Lived Branch.
# 2.4 19-MAY-2013 new version - Long Lived Branch.
# 2.6 20-OCT-2013 new version - Long Lived Branch.
+# 3.0 13-NOV-2013 new version (LLB), new features.
PRGNAM=nvidia-kernel
-VERSION=319.60
+VERSION=331.20
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -92,14 +93,17 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-cd kernel || exit 1
-
-make SYSSRC=$KERNELPATH module || exit 1
+(cd kernel || exit 1
+ make SYSSRC=$KERNELPATH module || exit 1
+ cd uvm
+ make SYSSRC=$KERNELPATH module || exit 1
+)
mkdir -p $PKG/lib/modules/$KERNEL/kernel/drivers/video
-install -m 0664 nvidia.ko $PKG/lib/modules/$KERNEL/kernel/drivers/video/
+install -m 0664 kernel/nvidia.ko $PKG/lib/modules/$KERNEL/kernel/drivers/video/
+install -m 0664 kernel/uvm/nvidia-uvm.ko $PKG/lib/modules/$KERNEL/kernel/drivers/video/
-# Make sure the X is specified to automagically load the
+# Make sure the X is specified to automagically load the
# correct driver, since I always forget. You can remove
# this file if you have an equivilent entry in /etc/X11/xorg.d
diff --git a/system/nvidia-kernel/nvidia-kernel.info b/system/nvidia-kernel/nvidia-kernel.info
index ff9c95d617..78764859e1 100644
--- a/system/nvidia-kernel/nvidia-kernel.info
+++ b/system/nvidia-kernel/nvidia-kernel.info
@@ -1,10 +1,10 @@
PRGNAM="nvidia-kernel"
-VERSION="319.60"
+VERSION="331.20"
HOMEPAGE="http://www.nvidia.com"
-DOWNLOAD="ftp://download.nvidia.com/XFree86/Linux-x86/319.60/NVIDIA-Linux-x86-319.60.run"
-MD5SUM="893958183acc35feb0740747c7da306b"
-DOWNLOAD_x86_64="ftp://download.nvidia.com/XFree86/Linux-x86_64/319.60/NVIDIA-Linux-x86_64-319.60.run"
-MD5SUM_x86_64="e31404d2e5aa0fa90b5b138ed9c666a3"
+DOWNLOAD="ftp://download.nvidia.com/XFree86/Linux-x86/331.20/NVIDIA-Linux-x86-331.20.run"
+MD5SUM="801aa04a087891690f1cac09575b2ba9"
+DOWNLOAD_x86_64="ftp://download.nvidia.com/XFree86/Linux-x86_64/331.20/NVIDIA-Linux-x86_64-331.20.run"
+MD5SUM_x86_64="7d10ca5e2bbb3c470a2e3366b5a33a32"
REQUIRES=""
MAINTAINER="Edward Koenig"
EMAIL="kingbeowulf@gmail.com"