wok diff zsnes/receipt @ rev 24605
Add zmap
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 02 15:59:03 2022 +0000 (2022-03-02) |
parents | dd9b0bdf9963 |
children | fbe88431f963 |
line diff
1.1 --- a/zsnes/receipt Wed Mar 18 10:38:57 2020 +0100 1.2 +++ b/zsnes/receipt Wed Mar 02 15:59:03 2022 +0000 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