summaryrefslogtreecommitdiffstats
path: root/extra/nvidia/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/nvidia/Pkgfile')
-rwxr-xr-xextra/nvidia/Pkgfile16
1 files changed, 6 insertions, 10 deletions
diff --git a/extra/nvidia/Pkgfile b/extra/nvidia/Pkgfile
index a1a991ee0..badf33ccb 100755
--- a/extra/nvidia/Pkgfile
+++ b/extra/nvidia/Pkgfile
@@ -6,7 +6,7 @@
name=nvidia
version=185.18.36
-release=1
+release=2
[ "`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-pkg0.run\
@@ -29,21 +29,17 @@ build() {
sed -i -e 's|__LIBGL_PATH__|/usr/lib|' $PKG/usr/lib/libGL.la
ln -sf libGLcore.so.$version $PKG/usr/lib/libGLcore.so
ln -sf /usr/lib/libGLcore.so $PKG/usr/lib/xorg/modules/extensions/libGLcore.so
-
+ ln -sv /usr/lib/xorg/modules/extensions/libglx.so.$version \
+ $PKG//usr/lib/xorg/modules/extensions/libglx.so
# copy includes
mkdir -p $PKG/usr/include/nvidia
cp -r usr/include/GL $PKG/usr/include/nvidia/
# install xconfig/settings programs and manpages
- install -m 0755 usr/bin/nvidia-{xconfig,settings} $PKG/usr/bin/
- install -m 0644 usr/share/man/man1/nvidia-{xconfig,settings}.1.gz \
- $PKG/usr/man/man1/
-
- # install xconfig/settings programs and manpages
- install -m 0755 usr/bin/nvidia-{xconfig,settings} $PKG/usr/bin/
- install -m 0644 usr/share/man/man1/nvidia-{xconfig,settings}.1.gz \
- $PKG/usr/man/man1/
+# install -m 0755 usr/bin/nvidia-{xconfig,settings} $PKG/usr/bin/
+# install -m 0644 usr/share/man/man1/nvidia-{xconfig,settings}.1.gz \
+# $PKG/usr/man/man1/
# build the module
cd usr/src/nv