summaryrefslogtreecommitdiff
path: root/system/nvidia-legacy71-kernel/nvidia-legacy71-kernel.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/nvidia-legacy71-kernel/nvidia-legacy71-kernel.SlackBuild')
-rw-r--r--system/nvidia-legacy71-kernel/nvidia-legacy71-kernel.SlackBuild12
1 files changed, 4 insertions, 8 deletions
diff --git a/system/nvidia-legacy71-kernel/nvidia-legacy71-kernel.SlackBuild b/system/nvidia-legacy71-kernel/nvidia-legacy71-kernel.SlackBuild
index 4be13a259f..5c2b3c2e4d 100644
--- a/system/nvidia-legacy71-kernel/nvidia-legacy71-kernel.SlackBuild
+++ b/system/nvidia-legacy71-kernel/nvidia-legacy71-kernel.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for nvidia-legacy71-kernel
-# Copyright 2007-2008 Heinz Wiesinger <pprkut@liwjatan.at>
+# Copyright 2007-2009 Heinz Wiesinger <pprkut@liwjatan.at>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,8 +27,8 @@
KERNELVERSION=${KERNELVERSION:-$(uname -r)}
KERNELPATH=${KERNELPATH:-/lib/modules/${KERNELVERSION}/build}
-VERSION=71.86.06
-NAME=NVIDIA-Linux-x86-$VERSION-pkg1
+VERSION=71.86.09
+NAME=NVIDIA-Linux-x86-$VERSION-pkg0
PKG_NAME=nvidia-legacy71-kernel
PKG_VERS=${VERSION}_$(echo $KERNELVERSION | tr - _)
@@ -52,10 +52,6 @@ chmod -R u+w,go+r-w,a-s .
cd usr/src/nv/ || exit 1
-if [ "${KERNELVERSION:0:6}" = "2.6.27" ]; then
- patch -p0 -i $CWD/nvidia-$VERSION-2.6.27.patch
-fi
-
make SYSSRC=$KERNELPATH module || exit 1
# It seems better as DESTDIR doesn't work here, to install the module manually.
@@ -70,7 +66,7 @@ cat $CWD/$PKG_NAME.SlackBuild > $PKG/usr/doc/$PKG_NAME-$PKG_VERS/$PKG_NAME.Slack
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
+sed "s%@KERNEL@%$KERNEL%" $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PKG_NAME-$PKG_VERS-$ARCH-$BUILD$TAG.tgz