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