wok annotate libspectrum/receipt @ rev 25680
updated gnu-efi (3.0.14 -> 3.0.17)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 18 18:46:02 2024 +0100 (5 months ago) |
parents | 69e1e705f038 |
children |
rev | line source |
---|---|
slaxemulator@9457 | 1 # SliTaz package receipt. |
slaxemulator@9457 | 2 |
slaxemulator@9457 | 3 PACKAGE="libspectrum" |
Hans-G?nter@24581 | 4 VERSION="1.5.0" |
slaxemulator@9457 | 5 CATEGORY="misc" |
Hans-G?nter@21300 | 6 SHORT_DESC="ZX Spectrum emulator support library." |
slaxemulator@9457 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@14718 | 8 LICENSE="GPL2" |
pascal@25510 | 9 WEB_SITE="https://sourceforge.net/projects/fuse-emulator/" |
Hans-G?nter@21300 | 10 |
slaxemulator@9457 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@9457 | 12 WGET_URL="$SF_MIRROR/fuse-emulator/$TARBALL" |
slaxemulator@9457 | 13 |
Hans-G?nter@21300 | 14 DEPENDS="audiofile glib libgcrypt zlib" |
pascal@14718 | 15 |
pascal@24411 | 16 # What is the latest version available today? |
pascal@24411 | 17 current_version() |
pascal@24411 | 18 { |
pascal@24411 | 19 wget -O - https://sourceforge.net/projects/fuse-emulator/files/libspectrum/ 2>/dev/null | \ |
pascal@25606 | 20 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24411 | 21 sed '/scope="row/!d;s|.*/libspectrum/||;s|/.*||;q' |
pascal@24411 | 22 } |
pascal@24411 | 23 |
slaxemulator@9457 | 24 # Rules to configure and make the package. |
slaxemulator@9457 | 25 compile_rules() |
slaxemulator@9457 | 26 { |
Hans-G?nter@21300 | 27 ./configure $CONFIGURE_ARGS && |
Hans-G?nter@24581 | 28 make && |
Hans-G?nter@21300 | 29 make install |
slaxemulator@9457 | 30 } |
slaxemulator@9457 | 31 |
slaxemulator@9457 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9457 | 33 genpkg_rules() |
slaxemulator@9457 | 34 { |
Hans-G?nter@24581 | 35 cook_copy_files *.so* |
slaxemulator@9457 | 36 } |