aboutsummaryrefslogtreecommitdiff
path: root/system/nvidia-kernel/nvidia-kernel.SlackBuild
diff options
context:
space:
mode:
authorEdward Koenig <kingbeowulf@gmail.com>2011-09-01 23:54:15 -0500
committerNiels Horn <niels.horn@slackbuilds.org>2011-09-04 21:54:18 -0300
commit164524dcc2cabd296124c012f06b4a05f3770fb9 (patch)
tree852ec1eaa0d8b90cc2d33075b410f909c30b8f2d /system/nvidia-kernel/nvidia-kernel.SlackBuild
parent8b8acd9eb663a8fb8ff81b38ce6d1c5259888e14 (diff)
system/nvidia-kernel: Updated for version 280.13.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/nvidia-kernel/nvidia-kernel.SlackBuild')
-rw-r--r--system/nvidia-kernel/nvidia-kernel.SlackBuild21
1 files changed, 7 insertions, 14 deletions
diff --git a/system/nvidia-kernel/nvidia-kernel.SlackBuild b/system/nvidia-kernel/nvidia-kernel.SlackBuild
index eb21b0ef3423c..da84a65f97883 100644
--- a/system/nvidia-kernel/nvidia-kernel.SlackBuild
+++ b/system/nvidia-kernel/nvidia-kernel.SlackBuild
@@ -30,10 +30,11 @@
# 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
#
PRGNAM=nvidia-kernel
-VERSION=275.09.07
+VERSION=280.13
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -85,19 +86,11 @@ 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/
-# Make sure the nvidia driver is specified to automagically load the
-# correct driver, since I always forget. If you create a proper full xorg.conf,
-# then this isn't needed.
-mkdir -p $PKG/etc/X11/xorg.conf.d
-cat << EOF > $PKG/etc/X11/xorg.conf.d/device.conf
-Section "Device"
- Identifier "Device0"
- Driver "nvidia"
- VendorName "Nvidia Corporation"
- BoardName ""
- Option "CoolBits" "1"
-EndSection
-EOF
+# Make sure the X is specified to automagically load the
+# correct driver, since I always forget.
+
+mkdir -p $PKG/usr/share/X11/xorg.conf.d/
+cat $CWD/10-nvidia.conf > $PKG/usr/share/X11/xorg.conf.d/10-nvidia.conf
mkdir -p $PKG/usr/doc/$PRGNAM-$PKGVER
cp -a README.template $PKG/usr/doc/$PRGNAM-$PKGVER