diff options
author | Heinz Wiesinger <pprkut@liwjatan.at> | 2010-08-22 11:07:34 -0400 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-08-23 00:53:39 -0500 |
commit | e8dd07e3f9632fa7763e658f6ceaa524e3a31d5b (patch) | |
tree | f249407f962c84c6b4d529c555fd0a2e01c7948f /system | |
parent | b46d83c9226ceeca188e69ce3ce0b34d1a19fbcd (diff) |
system/nvidia-kernel: Updated for version 256.44.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r-- | system/nvidia-kernel/README | 4 | ||||
-rw-r--r-- | system/nvidia-kernel/nvidia-kernel.SlackBuild | 16 | ||||
-rw-r--r-- | system/nvidia-kernel/nvidia-kernel.info | 12 |
3 files changed, 17 insertions, 15 deletions
diff --git a/system/nvidia-kernel/README b/system/nvidia-kernel/README index 94ca6d970de5..fa805381cfc9 100644 --- a/system/nvidia-kernel/README +++ b/system/nvidia-kernel/README @@ -1,2 +1,6 @@ This is the kernel-module needed by the proprietary binary nvidia driver. You also need the nvidia-driver package from SlackBuilds.org. + +To build the package for a kernel different from the running one, +start the script setting the KERNEL variable as in + KERNEL=2.6.33.7 ./nvidia-kernel.SlackBuild diff --git a/system/nvidia-kernel/nvidia-kernel.SlackBuild b/system/nvidia-kernel/nvidia-kernel.SlackBuild index c3e18b93c552..86de70674cbc 100644 --- a/system/nvidia-kernel/nvidia-kernel.SlackBuild +++ b/system/nvidia-kernel/nvidia-kernel.SlackBuild @@ -25,7 +25,7 @@ # Thanks to Robby Workman for suggestions to improve this script. PRGNAM=nvidia-kernel -VERSION=195.36.15 +VERSION=256.44 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -34,27 +34,28 @@ KERNELPATH=${KERNELPATH:-/lib/modules/${KERNEL}/build} PKGVER=${VERSION}_$(echo $KERNEL | tr - _) -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi if [ "$ARCH" = "i486" ]; then TARGET="x86" + SRCSUFFIX="" elif [ "$ARCH" = "i686" ]; then TARGET="x86" + SRCSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then TARGET="x86_64" + SRCSUFFIX="-no-compat32" fi unset ARCH -SRCNAM=NVIDIA-Linux-$TARGET-$VERSION-pkg0 +SRCNAM=NVIDIA-Linux-$TARGET-${VERSION}${SRCSUFFIX} CWD=$(pwd) TMP=${TMP:-/tmp/SBo} @@ -70,18 +71,15 @@ cd $SRCNAM || exit 1 chown -R root:root . chmod -R u+w,go+r-w,a-s . -cd usr/src/nv/ || exit 1 +cd kernel || exit 1 make SYSSRC=$KERNELPATH module || exit 1 -# It seems better as DESTDIR doesn't work here, to install the module manually. -#make SYSSRC=$KERNELPATH install DESTDIR=$PKG || exit 1 - mkdir -p $PKG/lib/modules/$KERNEL/kernel/drivers/video install -m 0664 nvidia.ko $PKG/lib/modules/$KERNEL/kernel/drivers/video/ mkdir -p $PKG/usr/doc/$PRGNAM-$PKGVER -cp -a README $PKG/usr/doc/$PRGNAM-$PKGVER +cp -a README.template $PKG/usr/doc/$PRGNAM-$PKGVER cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$PKGVER/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/system/nvidia-kernel/nvidia-kernel.info b/system/nvidia-kernel/nvidia-kernel.info index a0e571d5bd6e..f73e1970814e 100644 --- a/system/nvidia-kernel/nvidia-kernel.info +++ b/system/nvidia-kernel/nvidia-kernel.info @@ -1,10 +1,10 @@ PRGNAM="nvidia-kernel" -VERSION="195.36.15" +VERSION="256.44" HOMEPAGE="http://www.nvidia.com" -DOWNLOAD="ftp://download.nvidia.com/XFree86/Linux-x86/195.36.15/NVIDIA-Linux-x86-195.36.15-pkg0.run" -MD5SUM="b09b45113585524b08b3b2acfdf4a290" -DOWNLOAD_x86_64="ftp://download.nvidia.com/XFree86/Linux-x86_64/195.36.15/NVIDIA-Linux-x86_64-195.36.15-pkg0.run" -MD5SUM_x86_64="82ff23e6d02b9f208c618ec17c60ca29" +DOWNLOAD="ftp://download.nvidia.com/XFree86/Linux-x86/256.44/NVIDIA-Linux-x86-256.44.run" +MD5SUM="cb61b75a305e78291db313dae39c625b" +DOWNLOAD_x86_64="ftp://download.nvidia.com/XFree86/Linux-x86_64/256.44/NVIDIA-Linux-x86_64-256.44-no-compat32.run" +MD5SUM_x86_64="19fdd60520df7f50ae7dbb24e473872b" MAINTAINER="Heinz Wiesinger" EMAIL="pprkut@liwjatan.at" -APPROVED="rworkman" +APPROVED="dsomero" |