wok-next view nvidia-glx/receipt @ rev 1836
Add nvidia,nvidia-glx,nvidia-settings
author | Bill Nagel <b1+slitaz@nagel.org> |
---|---|
date | Wed Dec 10 23:57:23 2008 -0800 (2008-12-10) |
parents | |
children | 88bf5a2b55c3 |
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"
12 # Rules to gen a SliTaz package suitable for Tazpkg.
13 genpkg_rules()
14 {
15 mkdir -p $fs/usr/{bin,lib/tls}
16 mkdir -p $fs/usr/lib/X11/modules/{extensions,drivers}
18 install -m755 $src/usr/lib/lib{GL,GLcore,nvidia-cfg,nvidia-tls}.so.$VERSION $fs/usr/lib
19 install -m755 $src/usr/{lib/tls,X11R6/lib}/lib*.so.$VERSION $fs/usr/lib/tls
20 install -m755 $src/usr/X11R6/lib/modules/drivers/nvidia_drv.so $fs/usr/lib/X11/modules/drivers
21 install -m755 $src/usr/X11R6/lib/modules/extensions/libglx.so.$VERSION $fs/usr/lib/X11/modules/extensions
23 install -m755 $src/usr/bin/nvidia-xconfig $fs/usr/bin/
25 find $fs/ -name \*.so.$VERSION | while read lib; do
26 libname=$(basename "$lib")
27 (cd $(dirname "$lib") &&
28 ln -s $libname ${libname%.$VERSION} &&
29 ln -s $libname ${libname%.$VERSION}.1)
30 done
31 }