wok-next rev 6437
Add: frogatto & frogatto-data 1.0.3
author | Antoine Bodin <gokhlayeh@mailoo.org> |
---|---|
date | Tue Sep 28 00:23:13 2010 +0200 (2010-09-28) |
parents | 5c7155cf394a |
children | e6d42611d599 |
files | frogatto-data/receipt frogatto/receipt frogatto/stuff/frogatto frogatto/stuff/frogatto.desktop |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/frogatto-data/receipt Tue Sep 28 00:23:13 2010 +0200 1.3 @@ -0,0 +1,19 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="frogatto-data" 1.7 +VERSION="1.0.3" 1.8 +CATEGORY="games" 1.9 +SHORT_DESC="An old-school 2d platformer game, starring a certain quixotic frog (data files)" 1.10 +MAINTAINER="gokhlayeh@mailoo.org" 1.11 +WEB_SITE="http://www.frogatto.com" 1.12 +WANTED="frogatto" 1.13 + 1.14 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.15 +genpkg_rules() 1.16 +{ 1.17 + mkdir -p $fs/usr/games/frogatto 1.18 + for i in data images music sounds FreeMono.ttf DejaVuSans.ttf; do 1.19 + cp -a $src/$i $fs/usr/games/frogatto 1.20 + done 1.21 +} 1.22 +
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/frogatto/receipt Tue Sep 28 00:23:13 2010 +0200 2.3 @@ -0,0 +1,44 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="frogatto" 2.7 +VERSION="1.0.3" 2.8 +CATEGORY="games" 2.9 +SHORT_DESC="An old-school 2d platformer game, starring a certain quixotic frog" 2.10 +MAINTAINER="gokhlayeh@mailoo.org" 2.11 +DEPENDS="xorg-server mesa glew libsdl libsdl-image libsdl-ttf libsdl-mixer libpng \ 2.12 +libboost-regex libboost-system libboost-date-time libboost-thread libboost-iostreams \ 2.13 +frogatto-data" 2.14 +BUILD_DEPENDS="${DEPENDS/frogatto-data/} ccache xorg-server-dev mesa-dev libsdl-dev libsdl-image-dev \ 2.15 +libsdl-ttf-dev libsdl-mixer-dev libpng-dev libboost-regex-dev libboost-system-dev \ 2.16 +libboost-date-time-dev libboost-thread-dev libboost-iostreams-dev" 2.17 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 2.18 +WEB_SITE="http://www.frogatto.com" 2.19 +WGET_URL="$WEB_SITE/files/$TARBALL" 2.20 + 2.21 +# Rules to configure and make the package. 2.22 +compile_rules() 2.23 +{ 2.24 + cd $src 2.25 + 2.26 + # Frogatto look for multithread libbost (*-mt.so) but we don't use 2.27 + # them in SliTaz, let's lure it. 2.28 + for lib in $(ls /usr/lib/libboost*); do 2.29 + link=$(echo $lib | sed 's/\./-mt./') 2.30 + ln -s $lib $link 2.31 + done 2.32 + 2.33 + make -j 4 game server 2.34 + 2.35 + # Remove the links previously created. 2.36 + rm -f /usr/lib/libboost*-mt* 2.37 +} 2.38 + 2.39 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.40 +genpkg_rules() 2.41 +{ 2.42 + mkdir -p $fs/usr/games/frogatto $fs/usr/share/applications \ 2.43 + $fs/usr/bin 2.44 + cp -a $src/game $src/server $fs/usr/games/frogatto 2.45 + cp -a stuff/frogatto $fs/usr/bin 2.46 + cp -a stuff/frogatto.desktop $fs/usr/share/applications 2.47 +}
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/frogatto/stuff/frogatto Tue Sep 28 00:23:13 2010 +0200 3.3 @@ -0,0 +1,4 @@ 3.4 +#!/bin/sh 3.5 + 3.6 +cd /usr/games/frogatto 3.7 +exec /usr/games/frogatto/game $*
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/frogatto/stuff/frogatto.desktop Tue Sep 28 00:23:13 2010 +0200 4.3 @@ -0,0 +1,11 @@ 4.4 +[Desktop Entry] 4.5 +Encoding=UTF-8 4.6 +Name=Frogatto 4.7 +GenericName=Old-school 2D platformer 4.8 +Comment=Old-school 2D platformer 4.9 +Exec=/usr/bin/frogatto 4.10 +Terminal=false 4.11 +MultipleArgs=false 4.12 +Type=Application 4.13 +Icon=/usr/games/frogatto/images/window-icon.png 4.14 +Categories=Game;ArcadeGame