wok diff obconf/receipt @ rev 24402

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 08 16:59:06 2022 +0000 (2022-02-08)
parents 1c458fa173fb
children 0a9d0d18ca64
line diff
     1.1 --- a/obconf/receipt	Sat Oct 22 10:46:42 2016 +0200
     1.2 +++ b/obconf/receipt	Tue Feb 08 16:59:06 2022 +0000
     1.3 @@ -17,6 +17,12 @@
     1.4  BUILD_DEPENDS="gtk+-dev libglade-dev openbox-dev gdk-pixbuf-dev \
     1.5  startup-notification-dev xorg-libXft-dev"
     1.6  
     1.7 +current_version()
     1.8 +{
     1.9 +	wget -O - http://openbox.org/wiki/Openbox:Download 2>/dev/null | \
    1.10 +	sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
    1.11 +}
    1.12 +
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {