wok-next view frogatto/receipt @ rev 21018

Nasty typo broke the cooker
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Oct 17 03:59:24 2018 +0300 (2018-10-17)
parents c0521c689857
children d5aab818505e
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 boost-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 boost-iostreams boost-regex boost-system \
35 boost-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 }