nvidia: update to 319.17.

This commit is contained in:
Juan RP 2013-05-09 18:29:28 +02:00
parent 13434bd018
commit f84d5d63cd

View file

@ -1,6 +1,6 @@
# Template file for 'nvidia'
pkgname=nvidia
version=313.30
version=319.17
revision=1
short_desc="NVIDIA drivers for linux -- libraries and utilities"
maintainer="Juan RP <xtraeme@gmail.com>"
@ -12,16 +12,16 @@ noextract=yes
if [ "$XBPS_MACHINE" = "i686" ]; then
_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
else
_pkg="NVIDIA-Linux-x86_64-${version}-no-compat32"
distfiles="ftp://download.nvidia.com/XFree86/Linux-x86_64/${version}/${_pkg}.run"
checksum=57da25838e4941273cf6d04e2bc1c0b3c8f7802b24397897ed2975d5551eedbd
_pkg="NVIDIA-Linux-x86_64-${version}"
distfiles="http://us.download.nvidia.com/XFree86/Linux-x86_64/${version}/NVIDIA-Linux-x86_64-${version}.run"
checksum=5579a8c4f5a7927eb9756d276c4e3d60540877cd68f6c946890fddc5d176764a
fi
do_extract() {
install -m755 ${_pkg}.run ${wrksrc}
install -m755 ${XBPS_SRCDISTDIR}/${_pkg}.run ${wrksrc}
cd ${wrksrc} && ./${_pkg}.run --extract-only
rm -f ${_pkg}.run
}
@ -115,7 +115,7 @@ do_install() {
# dkms pkg
vmkdir usr/src/nvidia-${version}
vcopy "${_pkg}/kernel/*" usr/src/nvidia-${version}
vcopy "kernel/*" usr/src/nvidia-${version}
# systemd modules-load.d(5) file.
vmkdir usr/lib/modules-load.d