wok-6.x diff polkit-pam/receipt @ rev 25015
Add bzip3
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 17 11:06:25 2022 +0000 (2022-05-17) |
parents | a00bf44ed23d |
children | 7f7bd3c9775e |
line diff
1.1 --- a/polkit-pam/receipt Sat Aug 10 22:18:41 2013 +0000 1.2 +++ b/polkit-pam/receipt Tue May 17 11:06:25 2022 +0000 1.3 @@ -16,6 +16,13 @@ 1.4 BUILD_DEPENDS="glib-dev libgio-dev gobject-introspection-dev dbus-dev \ 1.5 dbus-glib-dev expat-dev pam-dev" 1.6 1.7 +# What is the latest version available today? 1.8 +current_version() 1.9 +{ 1.10 + wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ 1.11 + sed "/latest/d;/polkit-[0-9]/!d;/tar/!d;s|.*polkit-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q 1.12 +} 1.13 + 1.14 # Rules to configure and make the package. 1.15 compile_rules() 1.16 {