wok-current view gtktetris/receipt @ rev 16879

pango-dev: add harfbuzz-dev to deps.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Jul 13 20:16:24 2014 +0300 (2014-07-13)
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 }