wok-6.x view libspectrum/receipt @ rev 24973

Up zsh (5.8.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 01 15:03:44 2022 +0000 (2022-05-01)
parents 65d7d867e0c1
children ad0bc3efbf37
line source
1 # SliTaz package receipt.
3 PACKAGE="libspectrum"
4 VERSION="1.5.0"
5 CATEGORY="misc"
6 SHORT_DESC="ZX Spectrum emulator support library."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://sourceforge.net/projects/fuse-emulator/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/fuse-emulator/$TARBALL"
14 DEPENDS="audiofile glib libgcrypt zlib"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/fuse-emulator/files/libspectrum/ 2>/dev/null | \
20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
21 sed '/scope="row/!d;s|.*/libspectrum/||;s|/.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure $CONFIGURE_ARGS &&
28 make &&
29 make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cook_copy_files *.so*
36 }