wok diff TeXmacs/receipt @ rev 25059

lvmts: update wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 06 16:43:48 2022 +0000 (23 months ago)
parents d59705695f3d
children 65b71231eeb9
line diff
     1.1 --- a/TeXmacs/receipt	Fri Sep 27 09:29:34 2013 +0000
     1.2 +++ b/TeXmacs/receipt	Mon Jun 06 16:43:48 2022 +0000
     1.3 @@ -14,6 +14,12 @@
     1.4  # freetype and TeXmacs-windows-fonts avoid depending on TeX which is a *huge* system
     1.5  BUILD_DEPENDS="xorg-libX11-dev gmp-dev guile-dev freetype-dev imlib2-dev"
     1.6  
     1.7 +current_version()
     1.8 +{
     1.9 +	wget -O - http://ftp.texmacs.org/pub/$PACKAGE/targz/ 2>/dev/null | \
    1.10 +	sed "/src.tar/!d;s|.*$PACKAGE-\\(.*\\).src.*\".*|\\1|" | sort -Vr | sed q
    1.11 +}
    1.12 +
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {