wok-stable annotate nvidia-glx/receipt @ rev 2191

Add sudo-pam
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 09 10:03:32 2009 +0000 (2009-02-09)
parents 88bf5a2b55c3
children
rev   line source
b1+slitaz@1836 1 # SliTaz package receipt.
b1+slitaz@1836 2
b1+slitaz@1836 3 PACKAGE="nvidia-glx"
b1+slitaz@1836 4 VERSION="177.82"
b1+slitaz@1836 5 CATEGORY="non-free"
b1+slitaz@1836 6 SHORT_DESC="NVIDIA X.org libraries and utilities"
b1+slitaz@1836 7 MAINTAINER="b1+slitaz@nagel.org"
b1+slitaz@1836 8 DEPENDS="nvidia xorg xorg-server"
b1+slitaz@1836 9 WANTED="nvidia"
b1+slitaz@1836 10 WEB_SITE="http://www.nvidia.com"
b1+slitaz@1837 11 PROVIDE="libgl:nvidia"
b1+slitaz@1836 12
b1+slitaz@1836 13 # Rules to gen a SliTaz package suitable for Tazpkg.
b1+slitaz@1836 14 genpkg_rules()
b1+slitaz@1836 15 {
pascal@1841 16 mkdir -p $fs/usr/bin $fs/usr/lib/tls
pascal@1841 17 mkdir -p $fs/usr/lib/X11/modules/extensions $fs/usr/lib/X11/modules/drivers
b1+slitaz@1836 18
pascal@1841 19 install -m755 $src/usr/lib/libGL.so.$VERSION \
pascal@1841 20 $src/usr/lib/libGLcore.so.$VERSION \
pascal@1841 21 $src/usr/lib/libnvidia-cfg.so.$VERSION \
pascal@1841 22 $src/usr/lib/libnvidia-tls.so.$VERSION $fs/usr/lib
pascal@1841 23 install -m755 $src/usr/lib/tls/lib*.so.$VERSION \
pascal@1841 24 $src/usr/X11R6/lib/lib*.so.$VERSION $fs/usr/lib/tls
pascal@1841 25 install -m755 $src/usr/X11R6/lib/modules/drivers/nvidia_drv.so \
pascal@1841 26 $fs/usr/lib/X11/modules/drivers
pascal@1841 27 install -m755 $src/usr/X11R6/lib/modules/extensions/libglx.so.$VERSION \
pascal@1841 28 $fs/usr/lib/X11/modules/extensions
b1+slitaz@1836 29
b1+slitaz@1836 30 install -m755 $src/usr/bin/nvidia-xconfig $fs/usr/bin/
b1+slitaz@1836 31
b1+slitaz@1836 32 find $fs/ -name \*.so.$VERSION | while read lib; do
b1+slitaz@1836 33 libname=$(basename "$lib")
b1+slitaz@1836 34 (cd $(dirname "$lib") &&
b1+slitaz@1836 35 ln -s $libname ${libname%.$VERSION} &&
b1+slitaz@1836 36 ln -s $libname ${libname%.$VERSION}.1)
b1+slitaz@1836 37 done
b1+slitaz@1836 38 }