wok-6.x diff xorg-libxshmfence/receipt @ rev 24134
Up lzsa (1.3.8)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Oct 28 18:03:20 2021 +0000 (2021-10-28) |
parents | 469f8561ac86 |
children |
line diff
1.1 --- a/xorg-libxshmfence/receipt Tue Apr 13 06:48:06 2021 +0100 1.2 +++ b/xorg-libxshmfence/receipt Thu Oct 28 18:03:20 2021 +0000 1.3 @@ -12,6 +12,12 @@ 1.4 TARBALL="$SOURCE-$VERSION.tar.bz2" 1.5 WGET_URL="https://www.x.org/releases/individual/lib/$TARBALL" 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ 1.10 + sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q 1.11 +} 1.12 + 1.13 compile_rules() 1.14 { 1.15 ./configure \