wok-6.x view nvidia-glx/receipt @ rev 1837
Fix PROVIDE for nvidia-glx/mesa libgl conflict
author | Bill Nagel <b1+slitaz@nagel.org> |
---|---|
date | Thu Dec 11 05:39:17 2008 -0800 (2008-12-11) |
parents | 46784c9b72e7 |
children | e2718e4cba26 |
line source
1 # SliTaz package receipt.
3 PACKAGE="nvidia-glx"
4 VERSION="177.82"
5 CATEGORY="non-free"
6 SHORT_DESC="NVIDIA X.org libraries and utilities"
7 MAINTAINER="b1+slitaz@nagel.org"
8 DEPENDS="nvidia xorg xorg-server"
9 WANTED="nvidia"
10 WEB_SITE="http://www.nvidia.com"
11 PROVIDE="libgl:nvidia"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 genpkg_rules()
15 {
16 mkdir -p $fs/usr/{bin,lib/tls}
17 mkdir -p $fs/usr/lib/X11/modules/{extensions,drivers}
19 install -m755 $src/usr/lib/lib{GL,GLcore,nvidia-cfg,nvidia-tls}.so.$VERSION $fs/usr/lib
20 install -m755 $src/usr/{lib/tls,X11R6/lib}/lib*.so.$VERSION $fs/usr/lib/tls
21 install -m755 $src/usr/X11R6/lib/modules/drivers/nvidia_drv.so $fs/usr/lib/X11/modules/drivers
22 install -m755 $src/usr/X11R6/lib/modules/extensions/libglx.so.$VERSION $fs/usr/lib/X11/modules/extensions
24 install -m755 $src/usr/bin/nvidia-xconfig $fs/usr/bin/
26 find $fs/ -name \*.so.$VERSION | while read lib; do
27 libname=$(basename "$lib")
28 (cd $(dirname "$lib") &&
29 ln -s $libname ${libname%.$VERSION} &&
30 ln -s $libname ${libname%.$VERSION}.1)
31 done
32 }