wok diff lxdm/receipt @ rev 24072
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 07 17:56:16 2021 +0000 (2021-07-07) |
parents | d33c3c211ef8 |
children | fb22330086d8 |
line diff
1.1 --- a/lxdm/receipt Mon May 25 10:10:30 2020 +0000 1.2 +++ b/lxdm/receipt Wed Jul 07 17:56:16 2021 +0000 1.3 @@ -14,6 +14,12 @@ 1.4 DEPENDS="xorg-libX11 gtk+ slitaz-configs" 1.5 BUILD_DEPENDS="xorg-dev gtk+-dev" 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - https://sourceforge.net/projects/lxde/files/lxdm/ 2>/dev/null | \ 1.10 + sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\)\" .*|\\1|;q" 1.11 +} 1.12 + 1.13 # Rules to configure and make the package. 1.14 compile_rules() 1.15 {