wok-current diff zsnes/receipt @ rev 25174

updated python-flask (1.1.2 -> 1.1.4)
author Hans-G?nter Theisgen
date Fri Jul 01 17:16:59 2022 +0100 (2022-07-01)
parents dd9b0bdf9963
children fbe88431f963
line diff
     1.1 --- a/zsnes/receipt	Wed Mar 18 10:38:57 2020 +0100
     1.2 +++ b/zsnes/receipt	Fri Jul 01 17:16:59 2022 +0100
     1.3 @@ -15,9 +15,16 @@
     1.4  BUILD_DEPENDS="$DEPENDS nasm libsdl-dev libpng-dev ncurses-dev mesa-dev \
     1.5  automake autoconf zlib-dev patch"
     1.6  
     1.7 +current_version()
     1.8 +{
     1.9 +	wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \
    1.10 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    1.11 +	sed '/zip/!d;s|.*ZSNES v||;s|/.*||;q'
    1.12 +}
    1.13 +
    1.14  # Rules to configure and make the package.
    1.15 -
    1.16 -compile_rules() {
    1.17 +compile_rules()
    1.18 +{
    1.19    export LDFLAGS="$LDFLAGS -ltinfo"
    1.20    cd $src
    1.21    patch -p1 -i $stuff/zsnes.patch