wok-6.x diff lionwiki/receipt @ rev 24538
updated fbcat (0.5.1 -> 0.5.2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 23 15:14:49 2022 +0100 (2022-02-23) |
parents | 0e708393407e |
children | 9c057f96ed55 |
line diff
1.1 --- a/lionwiki/receipt Fri Apr 12 09:40:59 2019 +0200 1.2 +++ b/lionwiki/receipt Wed Feb 23 15:14:49 2022 +0100 1.3 @@ -7,13 +7,20 @@ 1.4 MAINTAINER="pascal.bellard@slitaz.org" 1.5 LICENSE="GPL2" 1.6 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.7 -WEB_SITE="https://web.archive.org/web/20180705201748/http://lionwiki.0o.cz/index.php?page=Main+page" 1.8 +WEB_SITE="http://lionwiki.0o.cz/index.php?page=Main+page" 1.9 WGET_URL="$WEB_SITE/download/$VERSION/$TARBALL" 1.10 CONFIG_FILES="/var/www/lionwikiss/config.php" 1.11 HOST_ARCH="any" 1.12 1.13 DEPENDS="lighttpd php" 1.14 1.15 +# What is the latest version available today? 1.16 +current_version() 1.17 +{ 1.18 + wget -O - $WEB_SITE 2>/dev/null | \ 1.19 + sed 's|</li>|&\n|g' | sed '/was released/!d;s|.*LionWiki ||;s| .*||;q' 1.20 +} 1.21 + 1.22 # Rules to configure and make the package. 1.23 compile_rules() 1.24 {