wok diff gtktetris/receipt @ rev 1227

Add squirrelmail-quota
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 10 10:45:55 2008 +0000 (2008-08-10)
parents
children 8b79c3ee7ac2
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gtktetris/receipt	Sun Aug 10 10:45:55 2008 +0000
     1.3 @@ -0,0 +1,30 @@
     1.4 +# SliTaz package receipt
     1.5 +
     1.6 +PACKAGE="gtktetris"
     1.7 +VERSION="0.6.2"
     1.8 +CATEGORY="games"
     1.9 +SHORT_DESC="Simple tetris game using GTK."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +DEPENDS="gtk+"
    1.12 +BUILD_DEPENDS="gtk+-dev"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://sourceforge.net/projects/gtktetris/"
    1.15 +WGET_URL="http://mirror.slitaz.org/sources/packages/g/$TARBALL"
    1.16 +# Rules to configure and make the package.
    1.17 +compile_rules()
    1.18 +{	
    1.19 +	cd $src
    1.20 +	sed -i s:'BIN_PATH = /usr/local/bin':'BIN_PATH = /usr/games:' Makefile
    1.21 +	sed -i s:'HIGHSCORE_PATH = /usr/local/games/gtktetris':'HIGHSCORE_PATH=/var/games/gtktetris:' Makefile
    1.22 +	make
    1.23 +}
    1.24 +
    1.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.26 +genpkg_rules()
    1.27 +{
    1.28 +	mkdir -p $fs/usr/games $fs/var/games/gtktetris
    1.29 +	cp -a $src/gtktetris $fs/usr/games
    1.30 +	touch $fs/var/games/gtktetris/highscore.dat
    1.31 +	chmod 666 $fs/var/games/gtktetris/highscore.dat
    1.32 +}
    1.33 +