wok view fuse-emulator/receipt @ rev 24949
updated nagios-nsca (2.9.2 -> 2.10.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Apr 22 17:54:28 2022 +0100 (2022-04-22) |
parents | 640a2eba2511 |
children | 65ff25c4de90 |
line source
1 # SliTaz package receipt.
3 PACKAGE="fuse-emulator"
4 VERSION="1.6.0"
5 CATEGORY="games"
6 TAGS="emulator spectrum"
7 SHORT_DESC="ZX Spectrum emulator."
8 MAINTAINER="slaxemulator@gmail.com"
9 LICENSE="GPL2"
10 WEB_SITE="http://fuse-emulator.sourceforge.net/fuse.php"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/$PACKAGE/fuse-$VERSION.tar.gz"
15 DEPENDS="alsa-lib gtk+ libpng libspectrum libxml2"
16 BUILD_DEPENDS="alsa-lib-dev gtk+-dev libpng-dev libspectrum-dev
17 libxml2-dev"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://sourceforge.net/projects/fuse-emulator/files/fuse/ 2>/dev/null | \
23 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
24 sed '/scope="row/!d;s|.*/fuse/||;s|/.*||;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./configure \
31 LIBSPECTRUM_CFLAGS=" " \
32 LIBSPECTRUM_LIBS=/usr/lib/libspectrum.so \
33 $CONFIGURE_ARGS &&
34 make &&
35 make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/share
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/share/fuse $fs/usr/share
45 }