From 2d105540d0c5b7d286c74699ad653d6e092dab5e Mon Sep 17 00:00:00 2001 From: Heinz Wiesinger Date: Wed, 12 May 2010 17:45:37 +0200 Subject: system/nvidia-kernel: Updated for version 180.29 --- system/nvidia-kernel/nvidia-kernel.SlackBuild | 32 +++++++++++++-------------- system/nvidia-kernel/nvidia-kernel.info | 6 ++--- 2 files changed, 19 insertions(+), 19 deletions(-) (limited to 'system/nvidia-kernel') diff --git a/system/nvidia-kernel/nvidia-kernel.SlackBuild b/system/nvidia-kernel/nvidia-kernel.SlackBuild index 5c4547280e..2d6a1b0709 100644 --- a/system/nvidia-kernel/nvidia-kernel.SlackBuild +++ b/system/nvidia-kernel/nvidia-kernel.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for nvidia-kernel -# Copyright 2007-2008 Heinz Wiesinger +# Copyright 2007-2009 Heinz Wiesinger # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,13 +24,13 @@ # Thanks to Robby Workman for suggestions to improve this script. -KERNELVERSION=${KERNELVERSION:-$(uname -r)} -KERNELPATH=${KERNELPATH:-/lib/modules/${KERNELVERSION}/build} +KERNEL=${KERNEL:-$(uname -r)} +KERNELPATH=${KERNELPATH:-/lib/modules/${KERNEL}/build} -VERSION=177.82 -NAME=NVIDIA-Linux-x86-$VERSION-pkg1 -PKG_NAME=nvidia-kernel -PKG_VERS=${VERSION}_$(echo $KERNELVERSION | tr - _) +VERSION=180.29 +SRCNAM=NVIDIA-Linux-x86-$VERSION-pkg0 +PRGNAM=nvidia-kernel +PKGVER=${VERSION}_$(echo $KERNEL | tr - _) ARCH=${ARCH:-i486} BUILD=${BUILD:-1} @@ -44,9 +44,9 @@ OUTPUT=${OUTPUT:-/tmp} rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP || exit 1 -rm -rf $NAME -sh $CWD/$NAME.run --extract-only || exit 1 -cd $NAME || exit 1 +rm -rf $SRCNAM +sh $CWD/$SRCNAM.run --extract-only || exit 1 +cd $SRCNAM || exit 1 chown -R root:root . chmod -R u+w,go+r-w,a-s . @@ -57,16 +57,16 @@ 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/$KERNELVERSION/kernel/drivers/video -install -m 0664 nvidia.ko $PKG/lib/modules/$KERNELVERSION/kernel/drivers/video/ +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/$PKG_NAME-$PKG_VERS -cp -a README $PKG/usr/doc/$PKG_NAME-$PKG_VERS -cat $CWD/$PKG_NAME.SlackBuild > $PKG/usr/doc/$PKG_NAME-$PKG_VERS/$PKG_NAME.SlackBuild +mkdir -p $PKG/usr/doc/$PRGNAM-$PKGVER +cp -a README $PKG/usr/doc/$PRGNAM-$PKGVER +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$PKGVER/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PKG_NAME-$PKG_VERS-$ARCH-$BUILD$TAG.tgz +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$PKGVER-$ARCH-$BUILD$TAG.tgz diff --git a/system/nvidia-kernel/nvidia-kernel.info b/system/nvidia-kernel/nvidia-kernel.info index 2291a762be..784cacb33c 100644 --- a/system/nvidia-kernel/nvidia-kernel.info +++ b/system/nvidia-kernel/nvidia-kernel.info @@ -1,8 +1,8 @@ PRGNAM="nvidia-kernel" -VERSION="177.82" +VERSION="180.29" HOMEPAGE="http://www.nvidia.com" -DOWNLOAD="http://us.download.nvidia.com/XFree86/Linux-x86/177.82/NVIDIA-Linux-x86-177.82-pkg1.run" -MD5SUM="8e46c4af035bf29064140fa6255f3cf3" +DOWNLOAD="ftp://download.nvidia.com/XFree86/Linux-x86/180.29/NVIDIA-Linux-x86-180.29-pkg0.run" +MD5SUM="db9aa3683988b7b0872abae7182f5bc5" MAINTAINER="ppr:kut" EMAIL="pprkut@liwjatan.at" APPROVED="dsomero" -- cgit v1.2.3