wok-next view frogatto/receipt @ rev 20332
Up exosip, httpfs-fuse, libvncserver, upx; add upx391 (for httpfs-fuse)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Nov 15 14:21:32 2017 +0200 (2017-11-15) |
parents | 2f3aba6cc31e |
children | c0521c689857 |
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 libglu-mesa-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 libglu-mesa 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 }