wok diff pygoocanvas/receipt @ rev 25443
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 03 09:28:15 2022 +0000 (2022-09-03) |
parents | 7f7bb07cd863 |
children |
line diff
1.1 --- a/pygoocanvas/receipt Thu Feb 07 11:11:40 2019 +0100 1.2 +++ b/pygoocanvas/receipt Sat Sep 03 09:28:15 2022 +0000 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 -