wok-next view frogatto/receipt @ rev 21087

Updates...
Revert names: libsdl -> sdl, libsmpeg -> smpeg, libtdb -> tdb
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Dec 28 05:11:49 2018 +0200 (2018-12-28)
parents 5669e8b3be70
children 213841732fda
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="libx11-dev sdl-dev mesa-dev glu-dev glew-dev \
15 sdl-image-dev libpng-dev zlib-dev boost-dev sdl-ttf-dev \
16 sdl-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 libpng sdl sdl-image \
36 sdl-mixer sdl-ttf mesa libx11 zlib"
37 ;;
38 frogatto-data)
39 copy data/ images/ modules/ music/ *.ttf
40 CAT="games|data files"
41 ;;
42 esac
43 }