wok-6.x view gtktetris/receipt @ rev 7625
Down: docbook-xml to 4.5. This is good thing since it now build new packages that depend on gnome-doc-utils fine. Don't update to 5.0.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Dec 12 15:53:13 2010 +0000 (2010-12-12) |
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 }