summaryrefslogtreecommitdiffstats
path: root/acompiler
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-08-24 21:03:30 +0200
committertnut <thierryn1 at hispeed dot ch>2010-08-24 21:03:30 +0200
commit6540fde3beb8417b49ce541330ae95ea93262853 (patch)
treec31d95acf9c331b2e7eb83c2ad81b7897b8e8b39 /acompiler
parentef77178faf510cbb0f3888b9e1d38d0ac69507b4 (diff)
downloadnutyx-pakxe-6540fde3beb8417b49ce541330ae95ea93262853.tar.gz
nutyx-pakxe-6540fde3beb8417b49ce541330ae95ea93262853.tar.bz2
nutyx-pakxe-6540fde3beb8417b49ce541330ae95ea93262853.tar.xz
nutyx-pakxe-6540fde3beb8417b49ce541330ae95ea93262853.zip
nvidia-96xx dans acompiler
Diffstat (limited to 'acompiler')
-rw-r--r--acompiler/nvidia-96xx/.footprint43
-rw-r--r--acompiler/nvidia-96xx/.md5sum1
-rw-r--r--acompiler/nvidia-96xx/Pkgfile49
-rw-r--r--acompiler/nvidia-96xx/pre-install3
4 files changed, 96 insertions, 0 deletions
diff --git a/acompiler/nvidia-96xx/.footprint b/acompiler/nvidia-96xx/.footprint
new file mode 100644
index 000000000..ee775f16f
--- /dev/null
+++ b/acompiler/nvidia-96xx/.footprint
@@ -0,0 +1,43 @@
+drwxr-xr-x root/root lib/
+drwxr-xr-x root/root lib/modules/
+drwxr-xr-x root/root lib/modules/<kernel-version>/
+drwxr-xr-x root/root lib/modules/<kernel-version>/kernel/
+drwxr-xr-x root/root lib/modules/<kernel-version>/kernel/drivers/
+drwxr-xr-x root/root lib/modules/<kernel-version>/kernel/drivers/video/
+-rw-r--r-- root/root lib/modules/<kernel-version>/kernel/drivers/video/nvidia.ko
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/nvidia-bug-report.sh
+-rwxr-xr-x root/root usr/bin/nvidia-settings
+drwxr-xr-x root/root usr/lib/
+lrwxrwxrwx root/root usr/lib/libGL.so -> /usr/lib/libGL.so.96.43.16
+lrwxrwxrwx root/root usr/lib/libGL.so.1 -> /usr/lib/libGL.so.96.43.16
+-rwxr-xr-x root/root usr/lib/libGL.so.96.43.16
+lrwxrwxrwx root/root usr/lib/libGLcore.so.1 -> /usr/lib/libGLcore.so.96.43.16
+-rwxr-xr-x root/root usr/lib/libGLcore.so.96.43.16
+-rwxr-xr-x root/root usr/lib/libXvMCNVIDIA.a
+-rwxr-xr-x root/root usr/lib/libXvMCNVIDIA.so.96.43.16
+lrwxrwxrwx root/root usr/lib/libnvidia-tls.so.1 -> /usr/lib/libnvidia-tls.so.96.43.16
+-rwxr-xr-x root/root usr/lib/libnvidia-tls.so.96.43.16
+drwxr-xr-x root/root usr/lib/xorg/
+drwxr-xr-x root/root usr/lib/xorg/modules/
+drwxr-xr-x root/root usr/lib/xorg/modules/drivers/
+-rwxr-xr-x root/root usr/lib/xorg/modules/drivers/nvidia_drv.so
+drwxr-xr-x root/root usr/lib/xorg/modules/extensions/
+lrwxrwxrwx root/root usr/lib/xorg/modules/extensions/libglx.so -> /usr/lib/xorg/modules/extensions/libglx.so.96.43.16
+-rwxr-xr-x root/root usr/lib/xorg/modules/extensions/libglx.so.96.43.16
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/applications/
+-rw-r--r-- root/root usr/share/applications/nvidia-settings.desktop
+drwxr-xr-x root/root usr/share/doc/
+drwxr-xr-x root/root usr/share/doc/nvidia/
+-rw-r--r-- root/root usr/share/doc/nvidia/README
+drwxr-xr-x root/root usr/share/licences/
+drwxr-xr-x root/root usr/share/licences/nvidia-71xx/
+-rw-r--r-- root/root usr/share/licences/nvidia-71xx/LICENSE
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+-rw-r--r-- root/root usr/share/man/man1/nvidia-settings.1.gz
+-rw-r--r-- root/root usr/share/man/man1/nvidia-xconfig.1.gz
+drwxr-xr-x root/root usr/share/pixmaps/
+-rw-r--r-- root/root usr/share/pixmaps/nvidia-settings.png
diff --git a/acompiler/nvidia-96xx/.md5sum b/acompiler/nvidia-96xx/.md5sum
new file mode 100644
index 000000000..f10ca69d7
--- /dev/null
+++ b/acompiler/nvidia-96xx/.md5sum
@@ -0,0 +1 @@
+1dc343ca57fa0f0cfd33c867a4c12f0b NVIDIA-Linux-x86-96.43.16-pkg1.run
diff --git a/acompiler/nvidia-96xx/Pkgfile b/acompiler/nvidia-96xx/Pkgfile
new file mode 100644
index 000000000..e9aa98663
--- /dev/null
+++ b/acompiler/nvidia-96xx/Pkgfile
@@ -0,0 +1,49 @@
+# 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.16
+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 {} \;
+}
+
diff --git a/acompiler/nvidia-96xx/pre-install b/acompiler/nvidia-96xx/pre-install
new file mode 100644
index 000000000..a1ee5214f
--- /dev/null
+++ b/acompiler/nvidia-96xx/pre-install
@@ -0,0 +1,3 @@
+if ( pkginfo -i | grep libgl > /dev/null ) ; then
+ pkgrm libgl
+fi