wok-next view frogatto/receipt @ rev 10721

postfix: Fixed uid for postdrop group and postfix user. We should use uid 75 for postfix user and uid 73 for postdrop. Postdrop group was seting itself to 1000 uid before.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat May 28 18:20:04 2011 +0000 (2011-05-28)
parents a9dbe46ded86
children 8e4c74abdf74
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 -j 4 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 }