# HG changeset patch # User Christophe Lincoln # Date 1204301317 -3600 # Node ID 7ceb93094fe336176280c8b8ba1210a39e305ef0 # Parent 581ee22da6ae55d409b5f29a454cb6715b4fcc4f Add: gtkballs and gtklife (we have now 4 games...) diff -r 581ee22da6ae -r 7ceb93094fe3 gtkballs-themes/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gtkballs-themes/receipt Fri Feb 29 17:08:37 2008 +0100 @@ -0,0 +1,21 @@ +# SliTaz package receipt. + +PACKAGE="gtkballs-themes" +VERSION="3.1.5" +CATEGORY="games" +SHORT_DESC="Themes for GtkBalls Lines clone." +MAINTAINER="pankso@slitaz.org" +DEPENDS="gtkballs" +WANTED="gtkballs" +WEB_SITE="http://gtkballs.antex.ru/" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share/gtkballs + cp -a $_pkg/usr/share/gtkballs/themes $fs/usr/share/gtkballs + rm -rf $fs/usr/share/gtkballs/themes/klines + mv $fs/usr/share/gtkballs/themes/Default \ + $fs/usr/share/gtkballs/themes/Original +} + diff -r 581ee22da6ae -r 7ceb93094fe3 gtkballs/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gtkballs/receipt Fri Feb 29 17:08:37 2008 +0100 @@ -0,0 +1,46 @@ +# SliTaz package receipt. + +PACKAGE="gtkballs" +VERSION="3.1.5" +CATEGORY="games" +SHORT_DESC="Clone of DOS Lines." +MAINTAINER="pankso@slitaz.org" +DEPENDS="gtk+" +BUILD_DEPENDS="gtk+-dev" +SUGGESTED="gtkballs-themes" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://gtkballs.antex.ru/" +WGET_URL="http://gtkballs.antex.ru/dist/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure \ + --prefix=/usr \ + --bindir=/usr/games \ + --localstatedir=/var/games \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS + make + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share/gtkballs/themes $fs/usr/share/pixmaps + cp -a $_pkg/usr/games $fs/usr + # Themes + #cp -a $_pkg/usr/share/gtkballs/themes/Default \ + # $fs/usr/share/gtkballs/themes + cp -a $_pkg/usr/share/gtkballs/themes/klines \ + $fs/usr/share/gtkballs/themes/Default + cp -a stuff/cell.xpm $fs/usr/share/gtkballs/themes/Default + # Pixmaps + cp -a $_pkg/usr/share/gtkballs/gtkballs_16x16.png \ + $fs/usr/share/pixmaps/gtkballs.png + cp -a $_pkg/var $fs + chmod 666 $fs/var/games/gtkballs-scores +} + diff -r 581ee22da6ae -r 7ceb93094fe3 gtkballs/stuff/cell.xpm --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gtkballs/stuff/cell.xpm Fri Feb 29 17:08:37 2008 +0100 @@ -0,0 +1,42 @@ +/* XPM */ +static char * cell_xpm[] = { +"36 36 3 1", +" c None", +". c #222222", +"+ c #666666", +"....................................", +".++++++++++++++++++++++++++++++++++.", +".++++++++++++++++++++++++++++++++++.", +".++++++++++++++++++++++++++++++++++.", +".++++++++++++++++++++++++++++++++++.", +".++++++++++++++++++++++++++++++++++.", +".++++++++++++++++++++++++++++++++++.", +".++++++++++++++++++++++++++++++++++.", +".++++++++++++++++++++++++++++++++++.", +".++++++++++++++++++++++++++++++++++.", +".++++++++++++++++++++++++++++++++++.", +".++++++++++++++++++++++++++++++++++.", +".++++++++++++++++++++++++++++++++++.", +".++++++++++++++++++++++++++++++++++.", +".++++++++++++++++++++++++++++++++++.", +".++++++++++++++++++++++++++++++++++.", +".++++++++++++++++++++++++++++++++++.", +".++++++++++++++++++++++++++++++++++.", +".++++++++++++++++++++++++++++++++++.", +".++++++++++++++++++++++++++++++++++.", +".++++++++++++++++++++++++++++++++++.", +".++++++++++++++++++++++++++++++++++.", +".++++++++++++++++++++++++++++++++++.", +".++++++++++++++++++++++++++++++++++.", +".++++++++++++++++++++++++++++++++++.", +".++++++++++++++++++++++++++++++++++.", +".++++++++++++++++++++++++++++++++++.", +".++++++++++++++++++++++++++++++++++.", +".++++++++++++++++++++++++++++++++++.", +".++++++++++++++++++++++++++++++++++.", +".++++++++++++++++++++++++++++++++++.", +".++++++++++++++++++++++++++++++++++.", +".++++++++++++++++++++++++++++++++++.", +".++++++++++++++++++++++++++++++++++.", +".++++++++++++++++++++++++++++++++++.", +"...................................."}; diff -r 581ee22da6ae -r 7ceb93094fe3 gtkballs/stuff/gtkballs.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gtkballs/stuff/gtkballs.desktop Fri Feb 29 17:08:37 2008 +0100 @@ -0,0 +1,8 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=GtkBalls +GenericName=Clone of Lines +Type=Application +Exec=gtkballs +Icon=gtkballs.png +Categories=Application;Game; diff -r 581ee22da6ae -r 7ceb93094fe3 gtklife/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gtklife/receipt Fri Feb 29 17:08:37 2008 +0100 @@ -0,0 +1,35 @@ +# SliTaz package receipt. + +PACKAGE="gtklife" +VERSION="5.1" +CATEGORY="games" +SHORT_DESC="Fast, featureful, open-source Conway's Life program." +MAINTAINER="pankso@slitaz.org" +DEPENDS="gtk+" +BUILD_DEPENDS="gtk+-dev" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://ironphoenix.org/tril/gtklife/" +WGET_URL="http://ironphoenix.org/tril/gtklife/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure \ + --prefix=/usr \ + --bindir=/usr/games \ + --with-gtk2 \ + $CONFIGURE_ARGS + make + mkdir -p _pkg/usr/games _pkg/usr/share/gtklife + cp -a graphics _pkg/usr/share/gtklife + cp -a patterns _pkg/usr/share/gtklife + cp gtklife _pkg/usr/games +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $_pkg/* $fs +} + diff -r 581ee22da6ae -r 7ceb93094fe3 gtklife/stuff/gtklife.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gtklife/stuff/gtklife.desktop Fri Feb 29 17:08:37 2008 +0100 @@ -0,0 +1,9 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=GtkLife +GenericName=Conway's Life game +Type=Application +Comment=Fast, featureful, Conway's Life program +Exec=gtklife +Icon=gtklife.png +Categories=Application;Game; diff -r 581ee22da6ae -r 7ceb93094fe3 gtklife/stuff/gtklife.png Binary file gtklife/stuff/gtklife.png has changed