wok diff nvidia-96xx/receipt @ rev 24102

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 17 10:35:57 2021 +0000 (2021-09-17)
parents 02c70d036ea0
children 8ea0030e77cb
line diff
     1.1 --- a/nvidia-96xx/receipt	Tue Feb 26 09:14:07 2019 +0100
     1.2 +++ b/nvidia-96xx/receipt	Fri Sep 17 10:35:57 2021 +0000
     1.3 @@ -17,8 +17,13 @@
     1.4  DEPENDS="linux xorg-server gtk+ cairo linux-agp linux-drm"
     1.5  BUILD_DEPENDS="linux-module-headers coreutils-file-summarize xz"
     1.6  
     1.7 +current_version()
     1.8 +{
     1.9 +	wget -O - http://download.nvidia.com/XFree86/Linux-x86 2>/dev/null | \
    1.10 +	sed '/href=.96/!d;s|.*>96|96|;s|/.*||' | sort -Vr | sed q
    1.11 +}
    1.12 +
    1.13  # Rules to configure and make the package.
    1.14 -
    1.15  compile_rules()
    1.16  {
    1.17  	cd $src/usr/src/nv/