wok-next view frogatto/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents a244e109372e
children 5669e8b3be70
line source
1 # SliTaz package receipt v2.
3 PACKAGE="frogatto"
4 VERSION="1.3.1"
5 CATEGORY="games"
6 SHORT_DESC="Action-adventure game, starring a certain quixotic frog"
7 MAINTAINER="devel@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="$PACKAGE-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 -Dm755 $stuff/frogatto $install/usr/bin/frogatto
26 install -Dm644 $stuff/frogatto.desktop $install/usr/share/applications/frogatto.desktop
27 install -Dm644 $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 }