summaryrefslogtreecommitdiffstats
path: root/acompiler/nvidia-173xx/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-173xx/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-173xx/Pkgfile')
-rw-r--r--acompiler/nvidia-173xx/Pkgfile47
1 files changed, 0 insertions, 47 deletions
diff --git a/acompiler/nvidia-173xx/Pkgfile b/acompiler/nvidia-173xx/Pkgfile
deleted file mode 100644
index 8d8424abe..000000000
--- a/acompiler/nvidia-173xx/Pkgfile
+++ /dev/null
@@ -1,47 +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-173xx
-version=173.14.27
-release=1
-[ "`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-pkg0.run)
-
-build() {
- sh NVIDIA-Linux-${_ARCH}-$version-pkg0.run --extract-only
- cd NVIDIA-Linux-${_ARCH}-$version-pkg0
-
- mkdir -p $PKG/usr/lib \
- $PKG/usr/lib/xorg/modules/drivers \
- $PKG/usr/lib/xorg/modules/extensions
-
- cp -a usr/X11R6/lib/* $PKG/usr/lib/xorg/
- cp -a usr/lib/* $PKG/usr/lib/
- sed -i -e 's|__LIBGL_PATH__|/usr/lib|' $PKG/usr/lib/libGL.la
- ln -sf libGLcore.so.$version $PKG/usr/lib/libGLcore.so
- ln -sf /usr/lib/libGLcore.so $PKG/usr/lib/xorg/modules/extensions/libGLcore.so
- ln -sv libglx.so.$version $PKG//usr/lib/xorg/modules/extensions/libglx.so
- # copy includes
- mkdir -p $PKG/usr/include/nvidia
- cp -r usr/include/GL $PKG/usr/include/nvidia/
-
- # build the module
- cd usr/src/nv
- 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
-}