aboutsummaryrefslogtreecommitdiff
path: root/system/nvidia-legacy96-kernel/nvidia-legacy96-kernel.SlackBuild
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2010-05-12 17:45:43 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-12 17:45:43 +0200
commit1edfcecbd54c9413f1b1e94132e393f16297d301 (patch)
tree181bb5f49a4b054677ad085a36f67034a341eb02 /system/nvidia-legacy96-kernel/nvidia-legacy96-kernel.SlackBuild
parent64600e168d257845b877a8fc2c46462f4cab94f8 (diff)
system/nvidia-legacy96-kernel: Updated for version 96.43.11
Diffstat (limited to 'system/nvidia-legacy96-kernel/nvidia-legacy96-kernel.SlackBuild')
-rw-r--r--system/nvidia-legacy96-kernel/nvidia-legacy96-kernel.SlackBuild12
1 files changed, 4 insertions, 8 deletions
diff --git a/system/nvidia-legacy96-kernel/nvidia-legacy96-kernel.SlackBuild b/system/nvidia-legacy96-kernel/nvidia-legacy96-kernel.SlackBuild
index 1f0edd5bdf245..174fe19c33efb 100644
--- a/system/nvidia-legacy96-kernel/nvidia-legacy96-kernel.SlackBuild
+++ b/system/nvidia-legacy96-kernel/nvidia-legacy96-kernel.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for nvidia-legacy96-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=96.43.07
-NAME=NVIDIA-Linux-x86-$VERSION-pkg1
+VERSION=96.43.11
+NAME=NVIDIA-Linux-x86-$VERSION-pkg0
PKG_NAME=nvidia-legacy96-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