wok-current diff pangomm/receipt @ rev 24132

Up tazinst (114)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 23 15:07:33 2021 +0000 (2021-10-23)
parents 86790a278e70
children 3ad63c8fc2f9
line diff
     1.1 --- a/pangomm/receipt	Tue Aug 07 23:03:21 2018 +0200
     1.2 +++ b/pangomm/receipt	Sat Oct 23 15:07:33 2021 +0000
     1.3 @@ -13,6 +13,13 @@
     1.4  DEPENDS="pixman cairomm glibmm libgiomm pango gcc-lib-base"
     1.5  BUILD_DEPENDS="cairo-dev cairomm-dev glibmm-dev pango-dev libxml2-dev"
     1.6  
     1.7 +current_version()
     1.8 +{
     1.9 +	wget -O - $GNOME_MIRROR/$PACKAGE/$(wget -O - $GNOME_MIRROR/$PACKAGE 2>/dev/null | \
    1.10 +	sed '/href="[0-9]/!d;s|.*href="||;s|/" .*||' | sort -Vr | sed q) 2>/dev/null | \
    1.11 +	sed "/href=\"$PACKAGE-[0-9]/!d;s|.*$PACKAGE-||;s|.[a-z].*||" | sort -Vr | sed q
    1.12 +}
    1.13 +
    1.14  # Rules to configure and make the package.
    1.15  compile_rules()
    1.16  {