wok-current view frogatto/receipt @ rev 12023
pcmanfm: new icon (Thanks moulefrite)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Mar 06 20:38:12 2012 +0100 (2012-03-06) |
parents | af022550edde |
children | 4f527a2114bf |
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/share/applications \
40 $fs/usr/bin
41 cp -a $src/game $src/server $fs/usr/games/frogatto
42 cp -a stuff/frogatto $fs/usr/bin
43 cp -a stuff/frogatto.desktop $fs/usr/share/applications
44 }