wok diff frogatto/receipt @ rev 6668
Added gobject-introspection.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Oct 12 03:21:24 2010 +0000 (2010-10-12) |
parents | |
children | af022550edde |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/frogatto/receipt Tue Oct 12 03:21:24 2010 +0000 1.3 @@ -0,0 +1,44 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="frogatto" 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" 1.10 +MAINTAINER="gokhlayeh@mailoo.org" 1.11 +DEPENDS="xorg-server mesa glew libsdl libsdl-image libsdl-ttf libsdl-mixer libpng \ 1.12 +libboost-regex libboost-system libboost-date-time libboost-thread libboost-iostreams \ 1.13 +frogatto-data" 1.14 +BUILD_DEPENDS="${DEPENDS/frogatto-data/} ccache xorg-server-dev mesa-dev libsdl-dev libsdl-image-dev \ 1.15 +libsdl-ttf-dev libsdl-mixer-dev libpng-dev libboost-regex-dev libboost-system-dev \ 1.16 +libboost-date-time-dev libboost-thread-dev libboost-iostreams-dev" 1.17 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.18 +WEB_SITE="http://www.frogatto.com" 1.19 +WGET_URL="$WEB_SITE/files/$TARBALL" 1.20 + 1.21 +# Rules to configure and make the package. 1.22 +compile_rules() 1.23 +{ 1.24 + cd $src 1.25 + 1.26 + # Frogatto look for multithread libbost (*-mt.so) but we don't use 1.27 + # them in SliTaz, let's lure it. 1.28 + for lib in $(ls /usr/lib/libboost*); do 1.29 + link=$(echo $lib | sed 's/\./-mt./') 1.30 + ln -s $lib $link 1.31 + done 1.32 + 1.33 + make -j 4 game server 1.34 + 1.35 + # Remove the links previously created. 1.36 + rm -f /usr/lib/libboost*-mt* 1.37 +} 1.38 + 1.39 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.40 +genpkg_rules() 1.41 +{ 1.42 + mkdir -p $fs/usr/games/frogatto $fs/usr/share/applications \ 1.43 + $fs/usr/bin 1.44 + cp -a $src/game $src/server $fs/usr/games/frogatto 1.45 + cp -a stuff/frogatto $fs/usr/bin 1.46 + cp -a stuff/frogatto.desktop $fs/usr/share/applications 1.47 +}