wok-next view frogatto/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 0f2575775b2d
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="frogatto"
4 VERSION="1.3.3"
5 CATEGORY="games"
6 SHORT_DESC="Action-adventure game, starring a certain quixotic frog"
7 MAINTAINER="maintainer@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="boost-dev ccache coreutils-file-format glew-dev glu-dev
15 libpng-dev libx11-dev mesa-dev sdl-dev sdl-image-dev
16 sdl-mixer-dev sdl-ttf-dev zlib-dev"
17 SPLIT="$PACKAGE-data"
19 compile_rules()
20 {
21 CXXFLAGS="$CXXFLAGS -std=gnu++98" make game server || return 1
23 mkdir -p $install/opt/frogatto/
25 cp game server *.ttf $install/opt/frogatto/
26 cp -r data/ images/ modules/ music/ $install/opt/frogatto
27 install -Dm755 $stuff/frogatto $install/usr/bin/frogatto
28 install -Dm644 $stuff/frogatto.desktop $install/usr/share/applications/frogatto.desktop
29 install -Dm644 $src/images/window-icon.png $install/usr/share/pixmaps/frogatto.png
30 }
32 genpkg_rules()
33 {
34 case $PACKAGE in
35 frogatto)
36 copy game server frogatto frogatto.desktop frogatto.png
37 DEPENDS="boost-iostreams boost-regex boost-system \
38 boost-thread glew glu libpng libx11 mesa sdl sdl-image \
39 sdl-mixer sdl-ttf zlib"
40 ;;
41 frogatto-data)
42 copy data/ images/ modules/ music/ *.ttf
43 CAT="games|data files"
44 ;;
45 esac
46 }