wok view gtktetris/receipt @ rev 6574

Up: sqlite, sqlite-dev, lemon to 3.7.3. Made so lemon compiles itself when genpkg only so the patch in compile_rules gets though. Otherwize it will be from sqlite directly without patch and bigger by 8kb or corrupted package with nothing in it since sqlite- will not exist in /lemon.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Oct 08 16:36:42 2010 +0000 (2010-10-08)
parents dce81ffe8354
children de49f29b101e
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 DEPENDS="gtk+ xorg-libXdamage"
9 BUILD_DEPENDS="gtk+-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://sourceforge.net/projects/gtktetris/"
12 WGET_URL="http://mirror.slitaz.org/sources/packages/g/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
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
19 make
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/games $fs/var/games/gtktetris
26 cp -a $src/gtktetris $fs/usr/games
27 touch $fs/var/games/gtktetris/highscore.dat
28 chmod 666 $fs/var/games/gtktetris/highscore.dat
29 }