wok diff TeXmacs/receipt @ rev 24093

Up squashfs (4.5)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 27 16:57:54 2021 +0000 (2021-07-27)
parents d59705695f3d
children 65b71231eeb9
line diff
     1.1 --- a/TeXmacs/receipt	Fri Sep 27 09:29:34 2013 +0000
     1.2 +++ b/TeXmacs/receipt	Tue Jul 27 16:57:54 2021 +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  {