wok-next annotate frogatto/receipt @ rev 20526
Up mtpaint (3.49.13)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 23 17:51:29 2018 +0200 (2018-03-23) |
parents | 595097cb4e40 |
children | a244e109372e |
rev | line source |
---|---|
al@19965 | 1 # SliTaz package receipt v2. |
gokhlayeh@6437 | 2 |
gokhlayeh@6437 | 3 PACKAGE="frogatto" |
al@19965 | 4 VERSION="1.3.1" |
gokhlayeh@6437 | 5 CATEGORY="games" |
al@19965 | 6 SHORT_DESC="Frogatto & Friends is an action-adventure game, starring a certain quixotic frog" |
gokhlayeh@7034 | 7 MAINTAINER="gokhlayeh@slitaz.org" |
al@19965 | 8 LICENSE="CC-BY-3 custom" |
al@19965 | 9 WEB_SITE="https://frogatto.com/" |
pascal@13403 | 10 |
al@19965 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19965 | 12 WGET_URL="https://github.com/frogatto/frogatto/archive/$VERSION.tar.gz" |
gokhlayeh@6437 | 13 |
al@20502 | 14 BUILD_DEPENDS="xorg-libX11-dev libsdl-dev mesa-dev glu-dev glew-dev \ |
al@19965 | 15 libsdl-image-dev libpng16-dev zlib-dev libboost-dev libsdl-ttf-dev \ |
al@19965 | 16 libsdl-mixer-dev coreutils-file-format ccache" |
al@19965 | 17 SPLIT="frogatto-data" |
gokhlayeh@6437 | 18 |
al@19965 | 19 compile_rules() { |
al@19965 | 20 CXXFLAGS="$CXXFLAGS -std=gnu++98" make game server || return 1 |
gokhlayeh@6437 | 21 |
al@19965 | 22 mkdir -p $install/opt/frogatto/ |
al@19965 | 23 cp game server *.ttf $install/opt/frogatto/ |
al@19965 | 24 cp -r data/ images/ modules/ music/ $install/opt/frogatto |
al@19965 | 25 install -Dm 755 $stuff/frogatto $install/usr/bin/frogatto |
al@19965 | 26 install -Dm 644 $stuff/frogatto.desktop $install/usr/share/applications/frogatto.desktop |
al@19965 | 27 install -Dm 644 $src/images/window-icon.png $install/usr/share/pixmaps/frogatto.png |
gokhlayeh@6437 | 28 } |
gokhlayeh@6437 | 29 |
al@19965 | 30 genpkg_rules() { |
al@19965 | 31 case $PACKAGE in |
al@19965 | 32 frogatto) |
al@19965 | 33 copy game server frogatto frogatto.desktop frogatto.png |
al@19965 | 34 DEPENDS="glew libboost-iostreams libboost-regex libboost-system \ |
al@20502 | 35 libboost-thread glu libpng16 libsdl libsdl-image \ |
al@19965 | 36 libsdl-mixer libsdl-ttf mesa xorg-libX11 zlib" |
al@19965 | 37 ;; |
al@19965 | 38 frogatto-data) |
al@19965 | 39 copy data/ images/ modules/ music/ *.ttf |
al@19965 | 40 CAT="games|data files" |
al@19965 | 41 ;; |
al@19965 | 42 esac |
gokhlayeh@6437 | 43 } |