wok-next view gtktetris/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 dce81ffe8354
children de49f29b101e
line source
1 # SliTaz package receipt
3 PACKAGE="gtktetris"
4 VERSION="0.6.2"
5 CATEGORY="games"
6 SHORT_DESC="Simple tetris game using GTK."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ xorg-libXdamage"
9 BUILD_DEPENDS="gtk+-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://sourceforge.net/projects/gtktetris/"
12 WGET_URL="http://mirror.slitaz.org/sources/packages/g/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 sed -i s:'BIN_PATH = /usr/local/bin':'BIN_PATH = /usr/games:' Makefile
18 sed -i s:'HIGHSCORE_PATH = /usr/local/games/gtktetris':'HIGHSCORE_PATH=/var/games/gtktetris:' Makefile
19 make
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/games $fs/var/games/gtktetris
26 cp -a $src/gtktetris $fs/usr/games
27 touch $fs/var/games/gtktetris/highscore.dat
28 chmod 666 $fs/var/games/gtktetris/highscore.dat
29 }