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

A lot of tiny edits; remove wget and pkg-build from $BUILD_DEPENDS and from *-dev packages $DEPENDS.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Mar 21 15:58:17 2018 +0200 (2018-03-21)
parents 0a667524ce79
children 835b3b8ce6ac
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"
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 make && make install
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 fuse-emulator)
31 copy @std @ico # only 16 and 48
32 DEPENDS="alsa-lib atk audiofile bzlib cairo fontconfig freetype \
33 gdk-pixbuf glib gtk+ libffi libgcrypt libgpg-error libharfbuzz \
34 liblzma libpng16 libsdl libspectrum libxml2 pango pcre tslib \
35 util-linux-blkid util-linux-mount util-linux-uuid xorg-libX11 \
36 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender xorg-libxcb \
37 xorg-pixman zlib"
38 ;;
39 fuse-emulator-gtk3)
40 copy @std @ico # only 16 and 48
41 CAT="games|with GTK+3 interface"
42 DEPENDS="alsa-lib atk audiofile bzlib cairo fontconfig freetype \
43 gdk-pixbuf glib gtk+3 libffi libgcrypt libgpg-error libharfbuzz \
44 liblzma libpng16 libsdl libspectrum libxml2 pango pcre tslib \
45 util-linux-blkid util-linux-mount util-linux-uuid xorg-libX11 \
46 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender xorg-libxcb \
47 xorg-pixman zlib"
48 ;;
49 esac
50 TAGS="emulator spectrum"
51 }