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