wok-6.x diff libsoup/receipt @ rev 24589
syslinux/iso2exe: fix possible data corruption
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 28 14:35:25 2022 +0000 (2022-02-28) |
parents | 96fd065ed4ea |
children |
line diff
1.1 --- a/libsoup/receipt Sun Oct 26 19:07:05 2014 +0200 1.2 +++ b/libsoup/receipt Mon Feb 28 14:35:25 2022 +0000 1.3 @@ -21,6 +21,13 @@ 1.4 i?86) BUILD_DEPENDS="$BUILD_DEPENDS gobject-introspection-dev" ;; 1.5 esac 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - $GNOME_MIRROR/$PACKAGE/$(wget -O - $GNOME_MIRROR/$PACKAGE 2>/dev/null | \ 1.10 + sed '/href="[0-9]/!d;s|.*href="||;s|/" .*||' | sort -Vr | sed q) 2>/dev/null | \ 1.11 + sed "/href=\"$PACKAGE-[0-9]/!d;s|.*$PACKAGE-||;s|.[a-z].*||" | sort -Vr | sed q 1.12 +} 1.13 + 1.14 # Rules to configure and make the package. 1.15 compile_rules() 1.16 {