summaryrefslogtreecommitdiffstats
path: root/extra/nvidia/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-23 22:22:59 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-23 22:22:59 +0200
commita01af246a04f90941c833c016bb2775a4521aa34 (patch)
treec933558bc69cb4ea8742179cb43d62d6351f09c0 /extra/nvidia/Pkgfile
parent0367fa726c51ade4eb5770094599145cad4f2634 (diff)
downloadnutyx-extra-a01af246a04f90941c833c016bb2775a4521aa34.tar.gz
nutyx-extra-a01af246a04f90941c833c016bb2775a4521aa34.tar.bz2
nutyx-extra-a01af246a04f90941c833c016bb2775a4521aa34.tar.xz
nutyx-extra-a01af246a04f90941c833c016bb2775a4521aa34.zip
Maj de nvidia#185.18.31-1
Diffstat (limited to 'extra/nvidia/Pkgfile')
-rwxr-xr-xextra/nvidia/Pkgfile12
1 files changed, 7 insertions, 5 deletions
diff --git a/extra/nvidia/Pkgfile b/extra/nvidia/Pkgfile
index 42d16643a..9cb4cf541 100755
--- a/extra/nvidia/Pkgfile
+++ b/extra/nvidia/Pkgfile
@@ -5,15 +5,17 @@
# Depends on:
name=nvidia
-version=185.18.29
+version=185.18.31
release=1
-_kernel=2.6.30.4
-source=(http://us.download.nvidia.com/XFree86/Linux-x86/$version/NVIDIA-Linux-x86-$version-pkg1.run\
+_kernel=2.6.30.5
+[ "`uname -m`" == "i686" ] && _ARCH=x86
+[ "`uname -m`" == "x86_64" ] && _ARCH=x86_64
+source=(http://us.download.nvidia.com/XFree86/Linux-${_ARCH}/$version/NVIDIA-Linux-${_ARCH}-$version-pkg1.run\
)
build() {
- sh NVIDIA-Linux-x86-$version-pkg1.run --extract-only
- cd NVIDIA-Linux-x86-$version-pkg1/usr/src/nv
+ sh NVIDIA-Linux-${_ARCH}-$version-pkg1.run --extract-only
+ cd NVIDIA-Linux-${_ARCH}-$version-pkg1/usr/src/nv
ln -s Makefile.kbuild Makefile
make SYSSRC=/usr/src/kernel/linux-${_kernel} module