wok-current diff glade-perl/receipt @ rev 24103
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 17 14:12:38 2021 +0000 (2021-09-17) |
parents | 7bb096863642 |
children | 7dd01dedad38 |
line diff
1.1 --- a/glade-perl/receipt Sat Sep 14 17:06:00 2013 +0000 1.2 +++ b/glade-perl/receipt Fri Sep 17 14:12:38 2021 +0000 1.3 @@ -14,6 +14,12 @@ 1.4 DEPENDS="libglade perl-gtk2 perl" 1.5 BUILD_DEPENDS="perl-extutils-depends perl-extutils-pkgconfig perl-gtk2 libglade-dev" 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - https://sourceforge.net/projects/gtk2-perl/files/Gtk2_GladeXML/ 2>/dev/null | \ 1.10 + sed '/Click to/!d;s|.*enter ||;s|".*||;q' 1.11 +} 1.12 + 1.13 # Rules to configure and make the package. 1.14 compile_rules() 1.15 {