wok-6.x view gnome-games/receipt @ rev 15535

Up: firefox-dev (17.0.11esr)
author Dominique Corbex <domcox@slitaz.org>
date Sun Nov 24 17:36:12 2013 +0100 (2013-11-24)
parents 5bd2d0b52b2f
children cd5ce06b1fb3
line source
1 # SliTaz package receipt.
3 PACKAGE="gnome-games"
4 VERSION="2.32.1"
5 CATEGORY="games"
6 SHORT_DESC="A set of of simple games from Gnome."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.gnome.org/"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
13 # Games: aisleriot need guile. glchess use pygtk/mesa and is splitted
14 DEPENDS="clutter-gtk GConf guile libcanberra librsvg xorg-libXi"
15 BUILD_DEPENDS="GConf-dev librsvg-dev libcroco-dev mesa-dev clutter-dev \
16 clutter-gtk-dev python-dev pygtk-dev libcanberra-dev gnome-doc-utils-dev \
17 libvorbis-dev libogg-dev util-linux-uuid-dev seed-dev libtool guile-dev \
18 libffi-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 ./configure \
24 --sysconfdir=/etc \
25 --bindir=/usr/games \
26 --localstatedir=/var \
27 --disable-scrollkeeper \
28 --enable-introspection=no \
29 --enable-sound \
30 $CONFIGURE_ARGS &&
31 make && make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib $fs/usr/share
39 cp -a $install/usr/games $fs/usr
40 cp -a $install/usr/share/$PACKAGE $fs/usr/share
42 # Remove splitted games files
43 rm -f $fs/usr/games/glchess
44 rm -f $fs/usr/games/gnome-sudoku
45 rm -f $fs/usr/share/*/glchess.desktop
46 rm -f $fs/usr/share/*/gnome-sudoku.desktop
48 cp -a $install/var $fs
49 chmod a+w $fs/var/games/*
50 }