summaryrefslogtreecommitdiffstats
path: root/base/nvidia/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2011-04-02 18:08:43 +0200
committertnut <thierryn1 at hispeed dot ch>2011-04-02 18:08:43 +0200
commit03712f903f70cae581cb6af307fc77b6572234f5 (patch)
tree32803128d7404eebf8a9bf65e9d37a8c6e58e44a /base/nvidia/Pkgfile
parent19b73be74e68e09438eadfaad1778103e8737ff9 (diff)
downloadnutyx-extra-03712f903f70cae581cb6af307fc77b6572234f5.tar.gz
nutyx-extra-03712f903f70cae581cb6af307fc77b6572234f5.tar.bz2
nutyx-extra-03712f903f70cae581cb6af307fc77b6572234f5.tar.xz
nutyx-extra-03712f903f70cae581cb6af307fc77b6572234f5.zip
nvidia, maj emplacement modules
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