diff options
author | tnut <thierryn1 at hispeed dot ch> | 2011-02-19 22:33:36 +0100 |
---|---|---|
committer | tnut <thierryn1 at hispeed dot ch> | 2011-02-19 22:33:36 +0100 |
commit | 03af1a2a2507d671b3866333533d92764458e1c8 (patch) | |
tree | e760cf3fc9008bbb0409e2ce923eee4dccc46136 /acompiler/nvidia-256xx/Pkgfile | |
parent | 65664baee158d3b259d487c279b89e4f4114b038 (diff) | |
download | nutyx-extra-03af1a2a2507d671b3866333533d92764458e1c8.tar.gz nutyx-extra-03af1a2a2507d671b3866333533d92764458e1c8.tar.bz2 nutyx-extra-03af1a2a2507d671b3866333533d92764458e1c8.tar.xz nutyx-extra-03af1a2a2507d671b3866333533d92764458e1c8.zip |
depot acompiler supprimé
Diffstat (limited to 'acompiler/nvidia-256xx/Pkgfile')
-rw-r--r-- | acompiler/nvidia-256xx/Pkgfile | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/acompiler/nvidia-256xx/Pkgfile b/acompiler/nvidia-256xx/Pkgfile deleted file mode 100644 index 361374c96..000000000 --- a/acompiler/nvidia-256xx/Pkgfile +++ /dev/null @@ -1,59 +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 -# Depends on: xorg-server - - -name=nvidia-256xx -version=256.53 -release=3 -[ "`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.run) - -build() { - sh NVIDIA-Linux-${_ARCH}-$version.run --extract-only - cd NVIDIA-Linux-${_ARCH}-$version - # includes for CUDA and VDPAU - install -d $PKG/usr/include/{cuda,vdpau} - install -m 0644 vdpau*.h $PKG/usr/include/vdpau - install -m 0644 cuda*.h $PKG/usr/include/cuda - - # 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/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 - # 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 - 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 -} |