wok-next view frogatto/receipt @ rev 20785

gpgme: add gnupg, since build can not find gpgconf and gpg
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 07:02:52 2018 +0000 (2018-06-09)
parents 595097cb4e40
children a244e109372e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="frogatto"
4 VERSION="1.3.1"
5 CATEGORY="games"
6 SHORT_DESC="Frogatto & Friends is an action-adventure game, starring a certain quixotic frog"
7 MAINTAINER="gokhlayeh@slitaz.org"
8 LICENSE="CC-BY-3 custom"
9 WEB_SITE="https://frogatto.com/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/frogatto/frogatto/archive/$VERSION.tar.gz"
14 BUILD_DEPENDS="xorg-libX11-dev libsdl-dev mesa-dev glu-dev glew-dev \
15 libsdl-image-dev libpng16-dev zlib-dev libboost-dev libsdl-ttf-dev \
16 libsdl-mixer-dev coreutils-file-format ccache"
17 SPLIT="frogatto-data"
19 compile_rules() {
20 CXXFLAGS="$CXXFLAGS -std=gnu++98" make game server || return 1
22 mkdir -p $install/opt/frogatto/
23 cp game server *.ttf $install/opt/frogatto/
24 cp -r data/ images/ modules/ music/ $install/opt/frogatto
25 install -Dm 755 $stuff/frogatto $install/usr/bin/frogatto
26 install -Dm 644 $stuff/frogatto.desktop $install/usr/share/applications/frogatto.desktop
27 install -Dm 644 $src/images/window-icon.png $install/usr/share/pixmaps/frogatto.png
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 frogatto)
33 copy game server frogatto frogatto.desktop frogatto.png
34 DEPENDS="glew libboost-iostreams libboost-regex libboost-system \
35 libboost-thread glu libpng16 libsdl libsdl-image \
36 libsdl-mixer libsdl-ttf mesa xorg-libX11 zlib"
37 ;;
38 frogatto-data)
39 copy data/ images/ modules/ music/ *.ttf
40 CAT="games|data files"
41 ;;
42 esac
43 }