wok diff xorg-x11perf/receipt @ rev 24211

created recipe for perl-file-rsync
author Hans-G?nter Theisgen
date Fri Dec 31 16:00:22 2021 +0100 (2021-12-31)
parents 23ce1447493d
children
line diff
     1.1 --- a/xorg-x11perf/receipt	Tue Nov 12 16:14:48 2019 +0100
     1.2 +++ b/xorg-x11perf/receipt	Fri Dec 31 16:00:22 2021 +0100
     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  {