wok-next view gtktetris/receipt @ rev 21602
updated dstat (0.7.3 -> 0.7.4)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 24 15:19:05 2020 +0100 (2020-06-24) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gtktetris"
4 VERSION="0.6.2"
5 CATEGORY="games"
6 SHORT_DESC="Simple tetris game using GTK"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://sourceforge.net/projects/gtktetris/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://mirror.slitaz.org/sources/packages/g/$TARBALL"
14 BUILD_DEPENDS="gtk2-dev"
16 compile_rules() {
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
20 make
21 }
23 genpkg_rules() {
24 mkdir -p $fs/usr/games $fs/var/games/gtktetris
25 cp -a $src/gtktetris $fs/usr/games
26 touch $fs/var/games/gtktetris/highscore.dat
27 chmod 666 $fs/var/games/gtktetris/highscore.dat
28 DEPENDS="gtk2 libxdamage"
29 }