wok annotate libspectrum/receipt @ rev 24937
Up iptraf (3.0.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 14 08:53:05 2022 +0000 (2022-04-14) |
parents | 65d7d867e0c1 |
children | ad0bc3efbf37 |
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" |
Hans-G?nter@24581 | 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@24411 | 20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;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 } |