nvidia: update to 319.17.
This commit is contained in:
parent
13434bd018
commit
f84d5d63cd
1 changed files with 7 additions and 7 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'nvidia'
|
# Template file for 'nvidia'
|
||||||
pkgname=nvidia
|
pkgname=nvidia
|
||||||
version=313.30
|
version=319.17
|
||||||
revision=1
|
revision=1
|
||||||
short_desc="NVIDIA drivers for linux -- libraries and utilities"
|
short_desc="NVIDIA drivers for linux -- libraries and utilities"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
@ -12,16 +12,16 @@ noextract=yes
|
||||||
|
|
||||||
if [ "$XBPS_MACHINE" = "i686" ]; then
|
if [ "$XBPS_MACHINE" = "i686" ]; then
|
||||||
_pkg="NVIDIA-Linux-x86-${version}"
|
_pkg="NVIDIA-Linux-x86-${version}"
|
||||||
distfiles="ftp://download.nvidia.com/XFree86/Linux-x86/${version}/${_pkg}.run"
|
distfiles="http://us.download.nvidia.com/XFree86/Linux-x86/${version}/NVIDIA-Linux-x86-${version}.run"
|
||||||
checksum=0a0f10979b1bca8e4a244e204b58aeb9a580924a9dd7b11b21d15abfe1ad49ad
|
checksum=0a0f10979b1bca8e4a244e204b58aeb9a580924a9dd7b11b21d15abfe1ad49ad
|
||||||
else
|
else
|
||||||
_pkg="NVIDIA-Linux-x86_64-${version}-no-compat32"
|
_pkg="NVIDIA-Linux-x86_64-${version}"
|
||||||
distfiles="ftp://download.nvidia.com/XFree86/Linux-x86_64/${version}/${_pkg}.run"
|
distfiles="http://us.download.nvidia.com/XFree86/Linux-x86_64/${version}/NVIDIA-Linux-x86_64-${version}.run"
|
||||||
checksum=57da25838e4941273cf6d04e2bc1c0b3c8f7802b24397897ed2975d5551eedbd
|
checksum=5579a8c4f5a7927eb9756d276c4e3d60540877cd68f6c946890fddc5d176764a
|
||||||
fi
|
fi
|
||||||
|
|
||||||
do_extract() {
|
do_extract() {
|
||||||
install -m755 ${_pkg}.run ${wrksrc}
|
install -m755 ${XBPS_SRCDISTDIR}/${_pkg}.run ${wrksrc}
|
||||||
cd ${wrksrc} && ./${_pkg}.run --extract-only
|
cd ${wrksrc} && ./${_pkg}.run --extract-only
|
||||||
rm -f ${_pkg}.run
|
rm -f ${_pkg}.run
|
||||||
}
|
}
|
||||||
|
@ -115,7 +115,7 @@ do_install() {
|
||||||
|
|
||||||
# dkms pkg
|
# dkms pkg
|
||||||
vmkdir usr/src/nvidia-${version}
|
vmkdir usr/src/nvidia-${version}
|
||||||
vcopy "${_pkg}/kernel/*" usr/src/nvidia-${version}
|
vcopy "kernel/*" usr/src/nvidia-${version}
|
||||||
|
|
||||||
# systemd modules-load.d(5) file.
|
# systemd modules-load.d(5) file.
|
||||||
vmkdir usr/lib/modules-load.d
|
vmkdir usr/lib/modules-load.d
|
||||||
|
|
Loading…
Reference in a new issue