summaryrefslogtreecommitdiffstats
path: root/extra/nvidia-195xxx/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-08-05 14:30:33 +0200
committertnut <thierryn1 at hispeed dot ch>2010-08-05 14:30:33 +0200
commit2afb1b4eecda86cc61c6a8f6c79dd10ac7466f2d (patch)
treed55269dfa662f7b3af07328876bdfaf7c7b89add /extra/nvidia-195xxx/Pkgfile
parent9cc5a368d9b2007aed8666a6e975cc76257566c7 (diff)
downloadnutyx-pakxe-2afb1b4eecda86cc61c6a8f6c79dd10ac7466f2d.tar.gz
nutyx-pakxe-2afb1b4eecda86cc61c6a8f6c79dd10ac7466f2d.tar.bz2
nutyx-pakxe-2afb1b4eecda86cc61c6a8f6c79dd10ac7466f2d.tar.xz
nutyx-pakxe-2afb1b4eecda86cc61c6a8f6c79dd10ac7466f2d.zip
suppression de nvidia-195xxx, doublon
Diffstat (limited to 'extra/nvidia-195xxx/Pkgfile')
-rw-r--r--extra/nvidia-195xxx/Pkgfile58
1 files changed, 0 insertions, 58 deletions
diff --git a/extra/nvidia-195xxx/Pkgfile b/extra/nvidia-195xxx/Pkgfile
deleted file mode 100644
index f0f8cbacd..000000000
--- a/extra/nvidia-195xxx/Pkgfile
+++ /dev/null
@@ -1,58 +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-195xxx
-version=195.36.24
-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
-
-# patch -p0 -i $SRC/$name-makefile.patch usr/src/nv/Makefile.kbuild
-
-
- mkdir -p $PKG/usr/lib \
- $PKG/usr/lib/xorg/modules/drivers \
- $PKG/usr/lib/xorg/modules/extensions \
- $PKG/usr/bin $PKG/usr/man/man1
-
- 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 /usr/lib/xorg/modules/extensions/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/
-
-
- # install xconfig/settings programs and manpages
-# install -m 0755 usr/bin/nvidia-{xconfig,settings} $PKG/usr/bin/
-# install -m 0644 usr/share/man/man1/nvidia-{xconfig,settings}.1.gz \
-# $PKG/usr/man/man1/
-
- # 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
-}