wok diff pygoocanvas/receipt @ rev 24501

updated drbd-utils (9.11.0 -> 9.20.2)
author Hans-G?nter Theisgen
date Sun Feb 20 09:23:47 2022 +0100 (2022-02-20)
parents 7f7bb07cd863
children
line diff
     1.1 --- a/pygoocanvas/receipt	Thu Feb 07 11:11:40 2019 +0100
     1.2 +++ b/pygoocanvas/receipt	Sun Feb 20 09:23:47 2022 +0100
     1.3 @@ -13,6 +13,14 @@
     1.4  DEPENDS="python pygtk goocanvas"
     1.5  BUILD_DEPENDS="goocanvas-dev python-dev pygobject-dev pycairo-dev pygtk-dev pkg-config"
     1.6  
     1.7 +current_version()
     1.8 +{
     1.9 +	local base=http://ftp.gnome.org/pub/GNOME/sources/$PACKAGE
    1.10 +	wget -O - $base/$(wget -O - $base 2>/dev/null | \
    1.11 +	sed '/href=.[0-9]/!d;s|.*href=.||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \
    1.12 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
    1.13 +}
    1.14 +
    1.15  # Rules to configure and make the package.
    1.16  compile_rules()
    1.17  {
    1.18 @@ -32,4 +40,3 @@
    1.19  	mkdir -p $fs/usr
    1.20  	cp -a $install/usr/lib $fs/usr
    1.21  }
    1.22 -