wok-next view gtktetris/receipt @ rev 21613
updated eboard (1.1.1 -> 1.1.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 25 10:33:28 2020 +0100 (2020-06-25) |
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 }