summaryrefslogtreecommitdiffstats
path: root/base/nvidia-settings/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'base/nvidia-settings/Pkgfile')
-rwxr-xr-xbase/nvidia-settings/Pkgfile28
1 files changed, 28 insertions, 0 deletions
diff --git a/base/nvidia-settings/Pkgfile b/base/nvidia-settings/Pkgfile
new file mode 100755
index 000000000..1f9616320
--- /dev/null
+++ b/base/nvidia-settings/Pkgfile
@@ -0,0 +1,28 @@
+# 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:
+# Run on:
+
+name=nvidia-settings
+version=260.19.12
+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.run)
+
+build() {
+ sh NVIDIA-Linux-${_ARCH}-$version.run --extract-only
+ cd NVIDIA-Linux-${_ARCH}-$version
+
+
+
+ install -d $PKG/usr/{bin,share/man/man1}
+
+ # install xconfig/settings programs and manpages
+ install -m 0755 nvidia-{xconfig,settings} $PKG/usr/bin/
+ install -m 0644 nvidia-{xconfig,settings}.1.gz \
+ $PKG/usr/share/man/man1/
+}
+