blob: fc31b92d4c661095c0b52ba9002e19b917c9b449 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# 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
name=nvidia-settings
version=270.41.19
release=1
[ "`uname -m`" == "i686" ] && _ARCH=x86
[ "`uname -m`" == "x86_64" ] && _ARCH=x86_64
source=(ftp://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/
}
|