summaryrefslogtreecommitdiffstats
path: root/acompiler/nvidia-96xx/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2011-02-19 22:33:36 +0100
committertnut <thierryn1 at hispeed dot ch>2011-02-19 22:33:36 +0100
commit03af1a2a2507d671b3866333533d92764458e1c8 (patch)
treee760cf3fc9008bbb0409e2ce923eee4dccc46136 /acompiler/nvidia-96xx/Pkgfile
parent65664baee158d3b259d487c279b89e4f4114b038 (diff)
downloadnutyx-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-96xx/Pkgfile')
-rw-r--r--acompiler/nvidia-96xx/Pkgfile60
1 files changed, 0 insertions, 60 deletions
diff --git a/acompiler/nvidia-96xx/Pkgfile b/acompiler/nvidia-96xx/Pkgfile
deleted file mode 100644
index b69f5adda..000000000
--- a/acompiler/nvidia-96xx/Pkgfile
+++ /dev/null
@@ -1,60 +0,0 @@
-# Description: Pilote propriétaire 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:
-
-name=nvidia-96xx
-version=96.43.18
-release=2
-kernel=`uname -r|sed "s/-NuTyX//"`
-source=(http://us.download.nvidia.com/XFree86/Linux-x86/$version/NVIDIA-Linux-x86-$version-pkg1.run\
- )
-
-build() {
- mkdir -p $PKG/lib/modules/`uname -r`/kernel/drivers/video
- sh NVIDIA-Linux-x86-$version-pkg1.run --extract-only
- cd NVIDIA-Linux-x86-$version-pkg1/usr/src/nv
- ln -s Makefile.kbuild Makefile
- make SYSSRC=/usr/src/linux-$kernel module
- install -m644 nvidia.ko $PKG/lib/modules/`uname -r`/kernel/drivers/video
- cd ../../
- mkdir -p $PKG/usr/{lib,lib/xorg/modules/{extensions,drivers},bin,share/applications,share/pixmaps}
- mkdir -p $PKG/usr/share/{man/man1,doc,licences/nvidia-71xx/}
- install lib/{libGLcore.so.$version,libGL.so.$version,tls/libnvidia-tls.so.$version} \
- $PKG/usr/lib/
- install X11R6/lib/libXv* $PKG/usr/lib/
- install -m644 share/man/man1/* $PKG/usr/share/man/man1/
- rm $PKG/usr/share/man/man1/nvidia-installer.1.gz
- # fix nvidia .desktop file
- sed -e 's:__UTILS_PATH__:/usr/bin:' -e 's:__PIXMAP_PATH__:/usr/share/pixmaps:' -i \
- share/applications/nvidia-settings.desktop
- install -m644 share/applications/nvidia-settings.desktop $PKG/usr/share/applications/
- install -m644 share/pixmaps/nvidia-settings.png $PKG/usr/share/pixmaps/
- install X11R6/lib/modules/drivers/nvidia_drv.so $PKG/usr/lib/xorg/modules/drivers
- install X11R6/lib/modules/extensions/libglx.so.$version $PKG/usr/lib/xorg/modules/extensions
- install -m755 bin/nvidia-{settings,bug-report.sh} $PKG/usr/bin/
- cd $PKG/usr/lib/
- ln -s /usr/lib/libGL.so.$version libGL.so
- ln -s /usr/lib/libGL.so.$version libGL.so.1
- ln -s /usr/lib/libGLcore.so.$version libGLcore.so.1
- ln -s /usr/lib/libnvidia-tls.so.$version libnvidia-tls.so.1
- cd $PKG/usr/lib/xorg/modules/extensions
- ln -s /usr/lib/xorg/modules/extensions/libglx.so.$version libglx.so
- install -m644 $PKGMK_WORK_DIR/src/NVIDIA-Linux-x86-$version-pkg1/LICENSE \
- $PKG/usr/share/licences/nvidia-71xx/
- install -D -m644 $PKGMK_WORK_DIR/src/NVIDIA-Linux-x86-$version-pkg1/usr/share/doc/README.txt $PKG/usr/share/doc/nvidia/README
- find $PKG/usr -type d -exec chmod 755 {} \;
- 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
-Section "ServerFlags"
-# temporary ignore abi mismatch until nvidia support xorg-server 1.9
- Option "IgnoreABI" "True"
-EndSection
-EOF
-}
-