wok-next view fuse-emulator/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents 5b905cdf92e6
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="fuse-emulator"
4 VERSION="1.4.0"
5 CATEGORY="games"
6 SHORT_DESC="ZX Spectrum emulator"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://fuse-emulator.sourceforge.net/fuse.php"
11 TARBALL="fuse-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/fuse-emulator/$TARBALL"
14 BUILD_DEPENDS="perl libspectrum-dev xorg-libX11-dev xorg-libICE-dev gtk2-dev \
15 gtk3-dev alsa-lib-dev libsdl-dev libgcrypt-dev"
16 SPLIT="fuse-emulator-gtk3:gtk3"
18 compile_rules() {
19 SET_ARGS=''; [ -z "$SET" ] && SET_ARGS='--disable-gtk3'
21 ./configure \
22 --enable-desktop-integration \
23 $SET_ARGS \
24 $CONFIGURE_ARGS &&
25 fix libtool &&
26 make &&
27 make install
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 fuse-emulator)
33 copy @std @ico # only 16 and 48
34 DEPENDS="alsa-lib gdk-pixbuf glib gtk2 libpng16 libsdl libspectrum \
35 libxml2 pango xorg-libX11 zlib"
36 ;;
37 fuse-emulator-gtk3)
38 copy @std @ico # only 16 and 48
39 CAT="games|with GTK+3 interface"
40 DEPENDS="alsa-lib cairo gdk-pixbuf glib gtk3 libpng16 libsdl \
41 libspectrum libxml2 pango xorg-libX11 zlib"
42 ;;
43 esac
44 TAGS="emulator spectrum"
45 }