wok-current diff xorg-libxshmfence/receipt @ rev 25024
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 18 20:10:17 2022 +0000 (2022-05-18) |
parents | 469f8561ac86 |
children | ac34e9209f8e |
line diff
1.1 --- a/xorg-libxshmfence/receipt Tue Apr 13 06:48:06 2021 +0100 1.2 +++ b/xorg-libxshmfence/receipt Wed May 18 20:10:17 2022 +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 \