wok view gtktetris/receipt @ rev 15838

Up: fox to 1.6.49.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Jan 27 05:11:58 2014 +0000 (2014-01-27)
parents 8b79c3ee7ac2
children 86790a278e70
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://sourceforge.net/projects/gtktetris/"
11 WGET_URL="http://mirror.slitaz.org/sources/packages/g/$TARBALL"
13 DEPENDS="gtk+ xorg-libXdamage"
14 BUILD_DEPENDS="gtk+-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 sed -i s:'BIN_PATH = /usr/local/bin':'BIN_PATH = /usr/games:' Makefile
21 sed -i s:'HIGHSCORE_PATH = /usr/local/games/gtktetris':'HIGHSCORE_PATH=/var/games/gtktetris:' Makefile
22 make
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/games $fs/var/games/gtktetris
29 cp -a $src/gtktetris $fs/usr/games
30 touch $fs/var/games/gtktetris/highscore.dat
31 chmod 666 $fs/var/games/gtktetris/highscore.dat
32 }