wok diff nvidia-173xx/receipt @ rev 20194

Up autofs (5.1.4), btrfs-progs (4.15), cifs-utils (6.7), davfs2 (1.5.4), dosfstools (4.1), e2fsprogs (1.43.9), f2fs-tools (1.10.0), moosefs (3.0.100), milfs-utils (2.2.7), owfs (3.2p1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 12 13:54:33 2018 +0100 (2018-02-12)
parents d6ca18366f41
children 3705d68ed8f3
line diff
     1.1 --- a/nvidia-173xx/receipt	Mon Dec 21 02:53:09 2015 +0200
     1.2 +++ b/nvidia-173xx/receipt	Mon Feb 12 13:54:33 2018 +0100
     1.3 @@ -12,7 +12,7 @@
     1.4  WGET_URL="http://download.nvidia.com/XFree86/Linux-x86/$VERSION/$TARBALL"
     1.5  RUN_OPTS="--extract-only"
     1.6  TAGS="driver graphic video"
     1.7 -PROVIDE="nvidia"
     1.8 +PROVIDE="nvidia mesa"
     1.9  
    1.10  DEPENDS="linux xorg-server gtk+ cairo linux-agp xorg-libXv"
    1.11  BUILD_DEPENDS="linux-module-headers coreutils-file-summarize xz"
    1.12 @@ -61,6 +61,10 @@
    1.13  	ln -s libcuda.so.$VERSION $fs/usr/lib/libcuda.so.1
    1.14  	ln -s libGL.so.$VERSION $fs/usr/lib/libGL.so
    1.15  	ln -s libGL.so.$VERSION $fs/usr/lib/libGL.so.1
    1.16 +	# exclude from files.list (for tazpkg's "find-depends")
    1.17 +        cd $fs/usr/lib
    1.18 +        for i in $(ls libGL.so*) ; do mv -f $i ${i//./-.-} ; done
    1.19 +
    1.20  	ln -s libGLcore.so.$VERSION $fs/usr/lib/libGLcore.so.1
    1.21  	ln -s libnvidia-cfg.so.$VERSION $fs/usr/lib/libnvidia-cfg.so
    1.22  	ln -s libnvidia-cfg.so.$VERSION $fs/usr/lib/libnvidia-cfg.so.1
    1.23 @@ -85,6 +89,10 @@
    1.24  
    1.25  post_install()
    1.26  {
    1.27 +	# Restore excluded from files.list (for tazpkg's "find-depends")
    1.28 +        cd $1/usr/lib
    1.29 +	for i in $(ls libGL.so*) ; do mv -f $i ${i//-.-/.} ; done
    1.30 +
    1.31  	chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz
    1.32  
    1.33  	# correct .desktop file file