wok-6.x rev 11232

Add from wok-undigest: seed gnome-games
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 05 13:15:12 2011 +0100 (2011-11-05)
parents 16b032ca4317
children 4413a1b4b67f
files gnome-games-glchess/receipt gnome-games-icons/receipt gnome-games-sudoku/receipt gnome-games/receipt seed-dev/receipt seed/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gnome-games-glchess/receipt	Sat Nov 05 13:15:12 2011 +0100
     1.3 @@ -0,0 +1,26 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="gnome-games-glchess"
     1.7 +VERSION="2.32.1"
     1.8 +CATEGORY="games"
     1.9 +SHORT_DESC="Chess game using GL/Mesa."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +WEB_SITE="http://www.gnome.org/"
    1.12 +WANTED="gnome-games"
    1.13 +DEPENDS="mesa python gnuchess gnome-games-icons"
    1.14 +
    1.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.16 +genpkg_rules()
    1.17 +{
    1.18 +	game=glchess
    1.19 +	mkdir -p \
    1.20 +		$fs/usr/games $fs/usr/lib \
    1.21 +		$fs/usr/share/applications
    1.22 +	
    1.23 +	cp -a $install/usr/games/$game $fs/usr/games
    1.24 +	cp -a $install/usr/lib/python* $fs/usr/lib
    1.25 +	rm -rf $fs/usr/lib/python*/*/gnome_sudoku
    1.26 +	cp -a $install/usr/share/$game $fs/usr/share
    1.27 +	
    1.28 +	cp $src/$game/$game.desktop $fs/usr/share/applications
    1.29 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/gnome-games-icons/receipt	Sat Nov 05 13:15:12 2011 +0100
     2.3 @@ -0,0 +1,18 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="gnome-games-icons"
     2.7 +VERSION="2.32.1"
     2.8 +CATEGORY="games"
     2.9 +SHORT_DESC="Gnome games icons set."
    2.10 +MAINTAINER="pankso@slitaz.org"
    2.11 +WEB_SITE="http://www.gnome.org/"
    2.12 +WANTED="gnome-games"
    2.13 +DEPENDS="gnome-games"
    2.14 +
    2.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.16 +genpkg_rules()
    2.17 +{
    2.18 +	mkdir -p $fs/usr/share
    2.19 +	cp -a $install/usr/share/icons $fs/usr/share
    2.20 +	rm -rf $fs/usr/share/icons/hicolor/scalable
    2.21 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/gnome-games-sudoku/receipt	Sat Nov 05 13:15:12 2011 +0100
     3.3 @@ -0,0 +1,26 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="gnome-games-sudoku"
     3.7 +VERSION="2.32.1"
     3.8 +CATEGORY="games"
     3.9 +SHORT_DESC="Gnome sudoku game."
    3.10 +MAINTAINER="pankso@slitaz.org"
    3.11 +WEB_SITE="http://www.gnome.org/"
    3.12 +WANTED="gnome-games"
    3.13 +DEPENDS="python pygtk python-gconf gnome-games-icons"
    3.14 +
    3.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.16 +genpkg_rules()
    3.17 +{
    3.18 +	game=gnome-sudoku
    3.19 +	mkdir -p \
    3.20 +		$fs/usr/games $fs/usr/lib \
    3.21 +		$fs/usr/share/applications
    3.22 +	
    3.23 +	cp -a $install/usr/games/$game $fs/usr/games
    3.24 +	cp -a $install/usr/lib/python* $fs/usr/lib
    3.25 +	rm -rf $fs/usr/lib/python*/*/glchess
    3.26 +	cp -a $install/usr/share/$game $fs/usr/share
    3.27 +	
    3.28 +	cp $src/$game/$game.desktop $fs/usr/share/applications
    3.29 +}
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/gnome-games/receipt	Sat Nov 05 13:15:12 2011 +0100
     4.3 @@ -0,0 +1,49 @@
     4.4 +# SliTaz package receipt.
     4.5 +
     4.6 +PACKAGE="gnome-games"
     4.7 +VERSION="2.32.1"
     4.8 +CATEGORY="games"
     4.9 +SHORT_DESC="A set of of simple games from Gnome."
    4.10 +MAINTAINER="pankso@slitaz.org"
    4.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    4.12 +WEB_SITE="http://www.gnome.org/"
    4.13 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    4.14 +
    4.15 +# Games: aisleriot need guile. glchess use pygtk/mesa and is splitted
    4.16 +DEPENDS="GConf librsvg libcroco mesa clutter clutter-gtk libcanberra \
    4.17 +libvorbis libogg util-linux-ng-uuid gnuchess gnome-games-icons seed"
    4.18 +BUILD_DEPENDS="GConf-dev librsvg-dev libcroco-dev mesa-dev clutter-dev \
    4.19 +clutter-gtk-dev python-dev pygtk-dev libcanberra-dev gnome-doc-utils-dev \
    4.20 +libvorbis-dev libogg-dev util-linux-ng-uuid-dev seed-dev"
    4.21 +
    4.22 +# Rules to configure and make the package.
    4.23 +compile_rules()
    4.24 +{
    4.25 +	cd $src
    4.26 +	./configure \
    4.27 +		--bindir=/usr/games \
    4.28 +		--sysconfdir=/etc \
    4.29 +		--localstatedir=/var \
    4.30 +		--enable-omitgames=aisleriot \
    4.31 +		--disable-scrollkeeper \
    4.32 +		$CONFIGURE_ARGS &&
    4.33 +	make && make install &&
    4.34 +	rm $DESTDIR/usr/share/*/glchess.desktop &&
    4.35 +	rm $DESTDIR/usr/share/*/gnome-sudoku.desktop
    4.36 +}
    4.37 +
    4.38 +# Rules to gen a SliTaz package suitable for Tazpkg.
    4.39 +genpkg_rules()
    4.40 +{
    4.41 +	mkdir -p $fs/usr/lib $fs/usr/share
    4.42 +	
    4.43 +	cp -a $install/usr/games $fs/usr
    4.44 +	cp -a $install/usr/share/$PACKAGE $fs/usr/share
    4.45 +
    4.46 +	# Remove splitted games files
    4.47 +	rm -f $fs/usr/games/glchess
    4.48 +	rm -f $fs/usr/games/gnome-sudoku
    4.49 +	
    4.50 +	cp -a $install/var $fs
    4.51 +	chmod a+w $fs/var/games/*
    4.52 +}
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/seed-dev/receipt	Sat Nov 05 13:15:12 2011 +0100
     5.3 @@ -0,0 +1,23 @@
     5.4 +# SliTaz package receipt.
     5.5 +
     5.6 +PACKAGE="seed-dev"
     5.7 +VERSION="3.2.0"
     5.8 +CATEGORY="development"
     5.9 +SHORT_DESC="Gnome JavaScript REPL/Interpreter devel files."
    5.10 +MAINTAINER="pankso@slitaz.org"
    5.11 +WEB_SITE="http://www.gnome.org/"
    5.12 +WANTED="seed"
    5.13 +
    5.14 +DEPENDS="libffi-dev libwebkit-dev gobject-introspection-dev dbus-dev \
    5.15 +dbus-glib-dev readline-dev mpfr-dev gmp-dev libxslt-dev util-linux-ng-uuid-dev \
    5.16 +cairo-dev gnome-js-common"
    5.17 +
    5.18 +# Rules to gen a SliTaz package suitable for Tazpkg.
    5.19 +genpkg_rules()
    5.20 +{
    5.21 +	mkdir -p $fs/usr/lib/seed
    5.22 +	cp -a $install/usr/include $fs/usr
    5.23 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    5.24 +	cp -a $install/usr/lib/*.*a $fs/usr/lib
    5.25 +	cp -a $install/usr/lib/seed/*.*a $fs/usr/lib/seed
    5.26 +}
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/seed/receipt	Sat Nov 05 13:15:12 2011 +0100
     6.3 @@ -0,0 +1,36 @@
     6.4 +# SliTaz package receipt.
     6.5 +
     6.6 +PACKAGE="seed"
     6.7 +VERSION="3.2.0"
     6.8 +CATEGORY="system-tools"
     6.9 +SHORT_DESC="Gnome JavaScript REPL/Interpreter."
    6.10 +MAINTAINER="pankso@slitaz.org"
    6.11 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    6.12 +WEB_SITE="http://www.gnome.org/"
    6.13 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    6.14 +
    6.15 +DEPENDS="libffi libwebkit gobject-introspection dbus dbus-glib readline \
    6.16 +mpfr gmp libxslt util-linux-ng-uuid cairo gnome-js-common"
    6.17 +BUILD_DEPENDS="libffi-dev libwebkit-dev gobject-introspection-dev dbus-dev \
    6.18 +dbus-glib-dev readline-dev mpfr-dev gmp-dev libxslt-dev util-linux-ng-uuid-dev \
    6.19 +cairo-dev gnome-js-common"
    6.20 +
    6.21 +# Rules to configure and make the package.
    6.22 +compile_rules()
    6.23 +{
    6.24 +	cd $src
    6.25 +	./configure \
    6.26 +		--with-webkit=1.0 \
    6.27 +		$CONFIGURE_ARGS &&
    6.28 +	make && make install
    6.29 +}
    6.30 +
    6.31 +# Rules to gen a SliTaz package suitable for Tazpkg.
    6.32 +genpkg_rules()
    6.33 +{
    6.34 +	mkdir -p $fs/usr/lib/seed $fs/usr/share
    6.35 +	cp -a $install/usr/bin $fs/usr
    6.36 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    6.37 +	cp -a $install/usr/lib/seed/*.so* $fs/usr/lib/seed
    6.38 +	cp -a $install/usr/share/seed $fs/usr/share
    6.39 +}