wok-current diff xorg-x11perf/receipt @ rev 25035
Up libqcow (20210419)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 20 18:11:13 2022 +0000 (2022-05-20) |
parents | 23ce1447493d |
children | 5926178cd6fa |
line diff
1.1 --- a/xorg-x11perf/receipt Tue Nov 12 16:14:48 2019 +0100 1.2 +++ b/xorg-x11perf/receipt Fri May 20 18:11:13 2022 +0000 1.3 @@ -15,6 +15,12 @@ 1.4 DEPENDS="xorg-libXft xorg-libXmu" 1.5 BUILD_DEPENDS="xorg-libXft-dev xorg-libXmu-dev" 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 # Rules to configure and make the package. 1.14 compile_rules() 1.15 {