wok-4.x view gtktetris/receipt @ rev 10852
Add dia back in.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Jun 12 17:57:21 2011 +0000 (2011-06-12) |
parents | dce81ffe8354 |
children |
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 }