wok-next view fuse-emulator/receipt @ rev 20849
syslinux: prevent shell expansion, specify CONFIG_FILES
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Jun 23 17:39:19 2018 +0300 (2018-06-23) |
parents | 342b30daff76 |
children | f48456621a9d |
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 gtk+-dev \
15 gtk+3-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 gtk+ 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 gtk+3 libpng16 libsdl \
41 libspectrum libxml2 pango xorg-libX11 zlib"
42 ;;
43 esac
44 TAGS="emulator spectrum"
45 }