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

created recipes for efivar and efibootmgr
author Hans-G?nter Theisgen
date Tue Sep 01 10:09:15 2020 +0100 (2020-09-01)
parents 0f2575775b2d
children
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 libx11-dev libice-dev gtk2-dev \
15 gtk3-dev alsa-lib-dev sdl-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 libpng sdl libspectrum \
35 libxml2 pango 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 libcairo gdk-pixbuf glib gtk3 libpng sdl \
41 libspectrum libxml2 pango libx11 zlib"
42 ;;
43 esac
44 TAGS="emulator spectrum"
45 }