summaryrefslogtreecommitdiff
path: root/system/nvidia-kernel/nvidia-kernel.SlackBuild
diff options
context:
space:
mode:
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 eb21b0ef34..da84a65f97 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