wok diff libee/receipt @ rev 24535
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 23 11:49:52 2022 +0000 (2022-02-23) |
parents | e66efc062996 |
children | a7524849966d |
line diff
1.1 --- a/libee/receipt Tue Jul 30 10:35:07 2019 +0200 1.2 +++ b/libee/receipt Wed Feb 23 11:49:52 2022 +0000 1.3 @@ -6,13 +6,20 @@ 1.4 SHORT_DESC="An Event Expression Library inspired by CEE" 1.5 MAINTAINER="erjo@slitaz.org" 1.6 LICENSE="LGPL2.1" 1.7 -WEB_SITE="https://web.archive.org/web/20181206220018/http://www.libee.org/" 1.8 +WEB_SITE="http://www.libee.org/" 1.9 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.10 WGET_URL="http://www.libee.org/files/download/$TARBALL" 1.11 1.12 DEPENDS="libestr" 1.13 BUILD_DEPENDS="libestr-dev automake" 1.14 1.15 +# What is the latest version available today? 1.16 +current_version() 1.17 +{ 1.18 + wget -O - http://www.libee.org/download/ 2>/dev/null | \ 1.19 + sed '/Download file/!d;s|.*libee ||;s|<.*||' | sort -Vr | sed q 1.20 +} 1.21 + 1.22 # Rules to configure and make the package. 1.23 compile_rules() 1.24 {