wok diff imap-upload/receipt @ rev 25096

created recipe for wordgrinder
author Hans-G?nter Theisgen
date Sat Jun 18 15:13:12 2022 +0100 (2022-06-18)
parents 36e9807432da
children 7dd01dedad38
line diff
     1.1 --- a/imap-upload/receipt	Fri Feb 07 12:29:13 2014 +0000
     1.2 +++ b/imap-upload/receipt	Sat Jun 18 15:13:12 2022 +0100
     1.3 @@ -13,6 +13,14 @@
     1.4  DEPENDS="python"
     1.5  BUILD_DEPENDS=""
     1.6  
     1.7 +# What is the latest version available today?
     1.8 +current_version()
     1.9 +{
    1.10 +	wget -O - https://sourceforge.net/projects/imap-upload/files/imap-upload/ 2>/dev/null | \
    1.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    1.12 +	sed '/scope="row/!d;s|.*/imap-upload/||;s|/.*||;q'
    1.13 +}
    1.14 +
    1.15  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.16  genpkg_rules()
    1.17  {