wok view nvidia-glx/receipt @ rev 3112
lxpanel: Use custom background
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 18 02:37:18 2009 +0200 (2009-05-18) |
parents | 88bf5a2b55c3 |
children |
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 $fs/usr/lib/tls
17 mkdir -p $fs/usr/lib/X11/modules/extensions $fs/usr/lib/X11/modules/drivers
19 install -m755 $src/usr/lib/libGL.so.$VERSION \
20 $src/usr/lib/libGLcore.so.$VERSION \
21 $src/usr/lib/libnvidia-cfg.so.$VERSION \
22 $src/usr/lib/libnvidia-tls.so.$VERSION $fs/usr/lib
23 install -m755 $src/usr/lib/tls/lib*.so.$VERSION \
24 $src/usr/X11R6/lib/lib*.so.$VERSION $fs/usr/lib/tls
25 install -m755 $src/usr/X11R6/lib/modules/drivers/nvidia_drv.so \
26 $fs/usr/lib/X11/modules/drivers
27 install -m755 $src/usr/X11R6/lib/modules/extensions/libglx.so.$VERSION \
28 $fs/usr/lib/X11/modules/extensions
30 install -m755 $src/usr/bin/nvidia-xconfig $fs/usr/bin/
32 find $fs/ -name \*.so.$VERSION | while read lib; do
33 libname=$(basename "$lib")
34 (cd $(dirname "$lib") &&
35 ln -s $libname ${libname%.$VERSION} &&
36 ln -s $libname ${libname%.$VERSION}.1)
37 done
38 }