diff options
author | tnut <tnut at nutyx dot com> | 2011-07-01 19:32:10 +0200 |
---|---|---|
committer | tnut <tnut at nutyx dot com> | 2011-07-01 19:32:10 +0200 |
commit | a90260ceb209aa264ecea1b750250d0a95f55bed (patch) | |
tree | 45c03cab62dc4a99c0fda0567572ec5b7391e3a5 /base/nvidia/Pkgfile | |
parent | 44c6e98299f677d6007a456a4f1f696565d5e108 (diff) | |
download | nutyx-extra-a90260ceb209aa264ecea1b750250d0a95f55bed.tar.gz nutyx-extra-a90260ceb209aa264ecea1b750250d0a95f55bed.tar.bz2 nutyx-extra-a90260ceb209aa264ecea1b750250d0a95f55bed.tar.xz nutyx-extra-a90260ceb209aa264ecea1b750250d0a95f55bed.zip |
nvidia devient nvidia-utils sans le module
Diffstat (limited to 'base/nvidia/Pkgfile')
-rwxr-xr-x | base/nvidia/Pkgfile | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/base/nvidia/Pkgfile b/base/nvidia/Pkgfile deleted file mode 100755 index ecc64ca17..000000000 --- a/base/nvidia/Pkgfile +++ /dev/null @@ -1,55 +0,0 @@ -# Description: Pilotes pour les cartes graphiques NVIDIA -# URL: http://www.nvidia.com/object/unix.html -# Maintainer: NuTyX core team -# Packager: thierryn1 at hispeed dot ch - -name=nvidia -version=275.09.07 -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) - -build() { - sh NVIDIA-Linux-${_ARCH}-$version.run --extract-only - cd NVIDIA-Linux-${_ARCH}-$version - - # librairies - install -d $PKG/usr/lib/{tls,vdpau} - for i in libGL.so.$version libOpenCL.so.1.0.0 libXvMCNVIDIA.so.$version \ - libcuda.so.$version libnvidia-cfg.so.$version libnvidia-compiler.so.$version \ - libnvidia-glcore.so.$version libnvidia-tls.so.$version libnvidia-tls.so.$version \ - libvdpau.so.$version - do - install -m 0755 $i $PKG/usr/lib - done - for i in libvdpau_nvidia.so.$version libvdpau_trace.so.$version - do - install -m 0755 $i $PKG/usr/lib/vdpau - done - 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/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 - - # install it - install -m 0644 -D nvidia.ko \ - $PKG/lib/modules/`uname -r`/kernel/video/nvidia/nvidia.ko - # xorg config - mkdir -p $PKG/etc/X11/xorg.conf.d -cat > $PKG/etc/X11/xorg.conf.d/30-nvidia.conf << "EOF" -Section "Device" - Identifier "NVIDIA" - Driver "nvidia" -EndSection -EOF -} |