summaryrefslogtreecommitdiffstats
path: root/base/nvidia/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'base/nvidia/Pkgfile')
-rwxr-xr-xbase/nvidia/Pkgfile13
1 files changed, 7 insertions, 6 deletions
diff --git a/base/nvidia/Pkgfile b/base/nvidia/Pkgfile
index 3c6d1fbe3..3375b1649 100755
--- a/base/nvidia/Pkgfile
+++ b/base/nvidia/Pkgfile
@@ -5,7 +5,7 @@
name=nvidia
version=270.30
-release=1
+release=2
[ "`uname -m`" == "i686" ] && _ARCH=x86
[ "`uname -m`" == "x86_64" ] && _ARCH=x86_64
source=(ftp://download.nvidia.com/XFree86/Linux-${_ARCH}/$version/NVIDIA-Linux-${_ARCH}-$version.run)
@@ -30,13 +30,14 @@ build() {
install -m 0755 tls/libnvidia-tls.so.$version $PKG/usr/lib/tls
install -m 0644 libXvMCNVIDIA.a $PKG/usr/lib
# xorg driver/extensions
- install -d $PKG/usr/lib/xorg/modules/{drivers,extensions}
- install -m 0755 nvidia_drv.so $PKG/usr/lib/xorg/modules/drivers
- install -m 0755 libglx.so.$version $PKG/usr/lib/xorg/modules/extensions
- ln -s libglx.so.$version $PKG/usr/lib/xorg/modules/extensions/libglx.so
- install -m 0755 libnvidia-wfb.so.$version $PKG/usr/lib/xorg/modules
+ install -d $PKG/usr/lib/X11/modules/{drivers,extensions}
+ install -m 0755 nvidia_drv.so $PKG/usr/lib/X11/modules/drivers
+ install -m 0755 libglx.so.$version $PKG/usr/lib/X11/modules/extensions
+ ln -s libglx.so.$version $PKG/usr/lib/X11/modules/extensions/libglx.so
+ install -m 0755 libnvidia-wfb.so.$version $PKG/usr/lib/X11/modules
# build the module
cd kernel
+
ln -s Makefile{.kbuild,}
IGNORE_CC_MISMATCH=1 make module