summaryrefslogtreecommitdiffstats
path: root/extra/nvidia-settings/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-04-29 19:32:45 +0200
committertnut <thierryn1 at hispeed dot ch>2010-04-29 19:32:45 +0200
commitad866ebedd07f93879e38fe7683e76215b52a06a (patch)
treec4b39be59674c3070289f8d4ebbcca8f41c77805 /extra/nvidia-settings/Pkgfile
parent12bde4a6c68b7f8cb1989056b83c42d83cded41d (diff)
downloadnutyx-extra-ad866ebedd07f93879e38fe7683e76215b52a06a.tar.gz
nutyx-extra-ad866ebedd07f93879e38fe7683e76215b52a06a.tar.bz2
nutyx-extra-ad866ebedd07f93879e38fe7683e76215b52a06a.tar.xz
nutyx-extra-ad866ebedd07f93879e38fe7683e76215b52a06a.zip
Ajout nvidia-settings#195.36.24-1
Diffstat (limited to 'extra/nvidia-settings/Pkgfile')
-rwxr-xr-xextra/nvidia-settings/Pkgfile27
1 files changed, 27 insertions, 0 deletions
diff --git a/extra/nvidia-settings/Pkgfile b/extra/nvidia-settings/Pkgfile
new file mode 100755
index 000000000..480071f11
--- /dev/null
+++ b/extra/nvidia-settings/Pkgfile
@@ -0,0 +1,27 @@
+# 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, nvidia
+
+name=nvidia-settings
+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
+
+
+
+ mkdir -p $PKG/usr/lib \
+ $PKG/usr/bin $PKG/usr/share/man/man1
+
+ # 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/share/man/man1/
+}