wok diff billardgl/receipt @ rev 24985

Add python-future
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 10 07:46:58 2022 +0000 (24 months ago)
parents 6e8b1bcb30e2
children ad0bc3efbf37
line diff
     1.1 --- a/billardgl/receipt	Thu Jan 24 11:33:03 2019 +0100
     1.2 +++ b/billardgl/receipt	Tue May 10 07:46:58 2022 +0000
     1.3 @@ -15,6 +15,14 @@
     1.4  BUILD_DEPENDS="libglu-mesa xorg-libXmu-dev xorg-libXi-dev mesa-dev \
     1.5  libglu-mesa-dev freeglut-dev"
     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/billardgl/files/billardgl/ 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|.*/BillardGL-||;s|.tar.*||;q'
    1.13 +}
    1.14 +
    1.15  # Rules to configure and make the package.
    1.16  compile_rules()
    1.17  {