wok-current diff udev/receipt @ rev 25431
qt5: update wget_url with archive.org
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 19 06:34:23 2022 +0000 (2022-08-19) |
parents | 86790a278e70 |
children | 73f36875e5a7 |
line diff
1.1 --- a/udev/receipt Tue Aug 07 23:03:21 2018 +0200 1.2 +++ b/udev/receipt Fri Aug 19 06:34:23 2022 +0000 1.3 @@ -22,6 +22,12 @@ 1.4 arm*) BUILD_DEPENDS="util-linux-blkid-dev kmod-dev acl-dev glib-dev" 1.5 esac 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ 1.10 + sed "/rc[0-9]/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).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 {