# HG changeset patch # User Pascal Bellard # Date 1320495312 -3600 # Node ID 5d1f0bbd11a0c1fb54da3b5f85f5cf2e580a6f79 # Parent 16b032ca43177bac8409a49f257832be71c3978a Add from wok-undigest: seed gnome-games diff -r 16b032ca4317 -r 5d1f0bbd11a0 gnome-games-glchess/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gnome-games-glchess/receipt Sat Nov 05 13:15:12 2011 +0100 @@ -0,0 +1,26 @@ +# SliTaz package receipt. + +PACKAGE="gnome-games-glchess" +VERSION="2.32.1" +CATEGORY="games" +SHORT_DESC="Chess game using GL/Mesa." +MAINTAINER="pankso@slitaz.org" +WEB_SITE="http://www.gnome.org/" +WANTED="gnome-games" +DEPENDS="mesa python gnuchess gnome-games-icons" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + game=glchess + mkdir -p \ + $fs/usr/games $fs/usr/lib \ + $fs/usr/share/applications + + cp -a $install/usr/games/$game $fs/usr/games + cp -a $install/usr/lib/python* $fs/usr/lib + rm -rf $fs/usr/lib/python*/*/gnome_sudoku + cp -a $install/usr/share/$game $fs/usr/share + + cp $src/$game/$game.desktop $fs/usr/share/applications +} diff -r 16b032ca4317 -r 5d1f0bbd11a0 gnome-games-icons/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gnome-games-icons/receipt Sat Nov 05 13:15:12 2011 +0100 @@ -0,0 +1,18 @@ +# SliTaz package receipt. + +PACKAGE="gnome-games-icons" +VERSION="2.32.1" +CATEGORY="games" +SHORT_DESC="Gnome games icons set." +MAINTAINER="pankso@slitaz.org" +WEB_SITE="http://www.gnome.org/" +WANTED="gnome-games" +DEPENDS="gnome-games" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share + cp -a $install/usr/share/icons $fs/usr/share + rm -rf $fs/usr/share/icons/hicolor/scalable +} diff -r 16b032ca4317 -r 5d1f0bbd11a0 gnome-games-sudoku/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gnome-games-sudoku/receipt Sat Nov 05 13:15:12 2011 +0100 @@ -0,0 +1,26 @@ +# SliTaz package receipt. + +PACKAGE="gnome-games-sudoku" +VERSION="2.32.1" +CATEGORY="games" +SHORT_DESC="Gnome sudoku game." +MAINTAINER="pankso@slitaz.org" +WEB_SITE="http://www.gnome.org/" +WANTED="gnome-games" +DEPENDS="python pygtk python-gconf gnome-games-icons" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + game=gnome-sudoku + mkdir -p \ + $fs/usr/games $fs/usr/lib \ + $fs/usr/share/applications + + cp -a $install/usr/games/$game $fs/usr/games + cp -a $install/usr/lib/python* $fs/usr/lib + rm -rf $fs/usr/lib/python*/*/glchess + cp -a $install/usr/share/$game $fs/usr/share + + cp $src/$game/$game.desktop $fs/usr/share/applications +} diff -r 16b032ca4317 -r 5d1f0bbd11a0 gnome-games/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gnome-games/receipt Sat Nov 05 13:15:12 2011 +0100 @@ -0,0 +1,49 @@ +# SliTaz package receipt. + +PACKAGE="gnome-games" +VERSION="2.32.1" +CATEGORY="games" +SHORT_DESC="A set of of simple games from Gnome." +MAINTAINER="pankso@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://www.gnome.org/" +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" + +# Games: aisleriot need guile. glchess use pygtk/mesa and is splitted +DEPENDS="GConf librsvg libcroco mesa clutter clutter-gtk libcanberra \ +libvorbis libogg util-linux-ng-uuid gnuchess gnome-games-icons seed" +BUILD_DEPENDS="GConf-dev librsvg-dev libcroco-dev mesa-dev clutter-dev \ +clutter-gtk-dev python-dev pygtk-dev libcanberra-dev gnome-doc-utils-dev \ +libvorbis-dev libogg-dev util-linux-ng-uuid-dev seed-dev" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure \ + --bindir=/usr/games \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --enable-omitgames=aisleriot \ + --disable-scrollkeeper \ + $CONFIGURE_ARGS && + make && make install && + rm $DESTDIR/usr/share/*/glchess.desktop && + rm $DESTDIR/usr/share/*/gnome-sudoku.desktop +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib $fs/usr/share + + cp -a $install/usr/games $fs/usr + cp -a $install/usr/share/$PACKAGE $fs/usr/share + + # Remove splitted games files + rm -f $fs/usr/games/glchess + rm -f $fs/usr/games/gnome-sudoku + + cp -a $install/var $fs + chmod a+w $fs/var/games/* +} diff -r 16b032ca4317 -r 5d1f0bbd11a0 seed-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/seed-dev/receipt Sat Nov 05 13:15:12 2011 +0100 @@ -0,0 +1,23 @@ +# SliTaz package receipt. + +PACKAGE="seed-dev" +VERSION="3.2.0" +CATEGORY="development" +SHORT_DESC="Gnome JavaScript REPL/Interpreter devel files." +MAINTAINER="pankso@slitaz.org" +WEB_SITE="http://www.gnome.org/" +WANTED="seed" + +DEPENDS="libffi-dev libwebkit-dev gobject-introspection-dev dbus-dev \ +dbus-glib-dev readline-dev mpfr-dev gmp-dev libxslt-dev util-linux-ng-uuid-dev \ +cairo-dev gnome-js-common" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib/seed + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + cp -a $install/usr/lib/*.*a $fs/usr/lib + cp -a $install/usr/lib/seed/*.*a $fs/usr/lib/seed +} diff -r 16b032ca4317 -r 5d1f0bbd11a0 seed/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/seed/receipt Sat Nov 05 13:15:12 2011 +0100 @@ -0,0 +1,36 @@ +# SliTaz package receipt. + +PACKAGE="seed" +VERSION="3.2.0" +CATEGORY="system-tools" +SHORT_DESC="Gnome JavaScript REPL/Interpreter." +MAINTAINER="pankso@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.xz" +WEB_SITE="http://www.gnome.org/" +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" + +DEPENDS="libffi libwebkit gobject-introspection dbus dbus-glib readline \ +mpfr gmp libxslt util-linux-ng-uuid cairo gnome-js-common" +BUILD_DEPENDS="libffi-dev libwebkit-dev gobject-introspection-dev dbus-dev \ +dbus-glib-dev readline-dev mpfr-dev gmp-dev libxslt-dev util-linux-ng-uuid-dev \ +cairo-dev gnome-js-common" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure \ + --with-webkit=1.0 \ + $CONFIGURE_ARGS && + make && make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib/seed $fs/usr/share + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib/*.so* $fs/usr/lib + cp -a $install/usr/lib/seed/*.so* $fs/usr/lib/seed + cp -a $install/usr/share/seed $fs/usr/share +}