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

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children 5669e8b3be70
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="devel@slitaz.org"
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="$PACKAGE-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 }