wok-6.x view gtktetris/receipt @ rev 20420
Fix wanted versions
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 06 23:15:23 2018 +0200 (2018-08-06) |
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 }