nvidia304: fix module building on kernels up to .20.
This commit is contained in:
parent
a1cda96b29
commit
0678da62e4
3 changed files with 3 additions and 8 deletions
|
@ -1,8 +1,6 @@
|
||||||
# Template file for 'nvidia304-dkms'.
|
# Template file for 'nvidia304-dkms'.
|
||||||
#
|
#
|
||||||
short_desc="NVIDIA drivers for linux (304.xx series) -- DKMS kernel module"
|
short_desc="NVIDIA drivers for linux (304.xx series) -- DKMS kernel module"
|
||||||
long_desc="
|
|
||||||
This package contains the NVIDIA non free kernel module files for DKMS."
|
|
||||||
|
|
||||||
nonfree=yes
|
nonfree=yes
|
||||||
triggers="dkms"
|
triggers="dkms"
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
# Template file for 'nvidia304-opencl'.
|
# Template file for 'nvidia304-opencl'.
|
||||||
#
|
#
|
||||||
short_desc="NVIDIA drivers for linux (304.xx series) -- OpenCL implementation"
|
short_desc="NVIDIA drivers for linux (304.xx series) -- OpenCL implementation"
|
||||||
long_desc="
|
|
||||||
This package contains the NVIDIA non free OpenCL implementation."
|
|
||||||
|
|
||||||
nonfree=yes
|
nonfree=yes
|
||||||
provides="nvidia-opencl-${version} libOpenCL-${version}"
|
provides="nvidia-opencl-${version} libOpenCL-${version}"
|
||||||
|
|
|
@ -1,14 +1,11 @@
|
||||||
# Template file for 'nvidia304'
|
# Template file for 'nvidia304'
|
||||||
pkgname=nvidia304
|
pkgname=nvidia304
|
||||||
version=304.64
|
version=304.64
|
||||||
revision=3
|
revision=4
|
||||||
short_desc="NVIDIA drivers for linux (304.xx series) -- libraries and utilities"
|
short_desc="NVIDIA drivers for linux (304.xx series) -- libraries and utilities"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
license="Propietary NVIDIA license"
|
license="Propietary NVIDIA license"
|
||||||
homepage="http://www.nvidia.com"
|
homepage="http://www.nvidia.com"
|
||||||
long_desc="
|
|
||||||
This package contains the non free NVIDIA libraries and utilities for
|
|
||||||
the propietary NVIDIA driver for the Linux kernel."
|
|
||||||
|
|
||||||
create_wrksrc=yes
|
create_wrksrc=yes
|
||||||
noextract=yes
|
noextract=yes
|
||||||
|
@ -39,6 +36,8 @@ do_extract() {
|
||||||
do_install() {
|
do_install() {
|
||||||
cd ${_pkg}
|
cd ${_pkg}
|
||||||
|
|
||||||
|
sed -i -e "s,\(SUBLEVEL -le\) 5,\1 20," kernel/conftest.sh
|
||||||
|
|
||||||
# X driver
|
# X driver
|
||||||
vinstall nvidia_drv.so 755 usr/lib/xorg/modules/drivers
|
vinstall nvidia_drv.so 755 usr/lib/xorg/modules/drivers
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue