wok-current diff TeXmacs-windows-fonts/receipt @ rev 25124
updated apache-mod-perl (2.0.8 -> 2.0.11)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jun 28 16:23:55 2022 +0100 (2022-06-28) |
parents | 617dbdeb6f7e |
children |
line diff
1.1 --- a/TeXmacs-windows-fonts/receipt Wed Oct 02 13:07:29 2013 +0000 1.2 +++ b/TeXmacs-windows-fonts/receipt Tue Jun 28 16:23:55 2022 +0100 1.3 @@ -8,10 +8,17 @@ 1.4 LICENSE="LPPL" 1.5 TARBALL="$PACKAGE-$VERSION-noarch.tar.gz" 1.6 WEB_SITE="http://www.texmacs.org" 1.7 -WGET_URL="ftp://ftp.texmacs.org/pub/TeXmacs/fonts/$TARBALL" 1.8 +WGET_URL="http://ftp.texmacs.org/pub/TeXmacs/fonts/$TARBALL" 1.9 1.10 DEPENDS="" 1.11 1.12 +# What is the latest version available today? 1.13 +current_version() 1.14 +{ 1.15 + wget -O - ${WGET_URL%/*} 2>/dev/null | \ 1.16 + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\)-noarch.tar.*\".*|\\1|" | sort -Vr | sed q 1.17 +} 1.18 + 1.19 # Rules to gen a SliTaz package suitable for Tazpkg. 1.20 genpkg_rules() 1.21 {