wok-4.x diff gtklife/receipt @ rev 291

Add: gtkballs and gtklife (we have now 4 games...)
author Christophe Lincoln <pankso@slitaz.org>
date Fri Feb 29 17:08:37 2008 +0100 (2008-02-29)
parents
children 8b79c3ee7ac2
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gtklife/receipt	Fri Feb 29 17:08:37 2008 +0100
     1.3 @@ -0,0 +1,35 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="gtklife"
     1.7 +VERSION="5.1"
     1.8 +CATEGORY="games"
     1.9 +SHORT_DESC="Fast, featureful, open-source Conway's Life program."
    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://ironphoenix.org/tril/gtklife/"
    1.15 +WGET_URL="http://ironphoenix.org/tril/gtklife/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	./configure \
    1.22 +		--prefix=/usr \
    1.23 +		--bindir=/usr/games \
    1.24 +		--with-gtk2 \
    1.25 +		$CONFIGURE_ARGS
    1.26 +	make
    1.27 +	mkdir -p _pkg/usr/games _pkg/usr/share/gtklife
    1.28 +	cp -a graphics _pkg/usr/share/gtklife
    1.29 +	cp -a patterns _pkg/usr/share/gtklife
    1.30 +	cp gtklife _pkg/usr/games
    1.31 +}
    1.32 +
    1.33 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.34 +genpkg_rules()
    1.35 +{
    1.36 +	cp -a $_pkg/* $fs
    1.37 +}
    1.38 +