wok-next view gtktetris/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | f48456621a9d |
children | 5669e8b3be70 |
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 xorg-libXdamage"
29 }