wok view gtktetris/receipt @ rev 22680
rsync, openssh: update $CONFIG_FILES
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 18 18:26:14 2020 +0100 (2020-01-18) |
parents | de49f29b101e |
children | 370da83187ab |
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="https://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 }