wok view frogatto/receipt @ rev 13562

Up: udevil (0.3.4) - Used py spacefm for automount
author Christophe Lincoln <pankso@slitaz.org>
date Sat Nov 03 10:53:06 2012 +0100 (2012-11-03)
parents fc917d308352
children 6b09507225ec
line source
1 # SliTaz package receipt.
3 PACKAGE="frogatto"
4 VERSION="1.1.1"
5 CATEGORY="games"
6 SHORT_DESC="An old-school 2d platformer game, starring a certain quixotic frog"
7 MAINTAINER="gokhlayeh@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.frogatto.com"
10 WGET_URL="$WEB_SITE/files/$TARBALL"
12 DEPENDS="xorg-server mesa glew libsdl libsdl-image libsdl-ttf libsdl-mixer libpng \
13 libboost-regex libboost-system libboost-date-time libboost-thread libboost-iostreams \
14 frogatto-data"
15 BUILD_DEPENDS="${DEPENDS/frogatto-data/} ccache xorg-server-dev mesa-dev libsdl-dev libsdl-image-dev \
16 libsdl-ttf-dev libsdl-mixer-dev libpng-dev libboost-regex-dev libboost-system-dev \
17 libboost-date-time-dev libboost-thread-dev libboost-iostreams-dev glew-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
24 # Frogatto look for multithread libbost (*-mt.so) but we don't use
25 # them in SliTaz, let's lure it.
26 for lib in $(ls /usr/lib/libboost*); do
27 link=$(echo $lib | sed 's/\./-mt./')
28 ln -s $lib $link
29 done
31 make $MAKEFLAGS game server
33 # Remove the links previously created.
34 rm -f /usr/lib/libboost*-mt*
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/games/frogatto $fs/usr/bin $fs/usr/share/pixmaps
41 cp -a $src/game $src/server $fs/usr/games/frogatto
42 cp -a $src/images/window-icon.png $fs/usr/share/pixmaps
43 cp -a $stuff/frogatto $fs/usr/bin
44 }