wok-current diff zsnes/receipt @ rev 24836
updated libtasn1 and libtasn1-dev (4.16.0 -> 4.18.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 25 07:25:04 2022 +0100 (2022-03-25) |
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 Mar 25 07:25:04 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