wok view gnome-games/receipt @ rev 14461

Up: geany (1.23)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Apr 27 02:56:24 2013 +0200 (2013-04-27)
parents d67491eda134
children 380ffe05937a
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.gnome.org/"
10 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
12 # Games: aisleriot need guile. glchess use pygtk/mesa and is splitted
13 DEPENDS="clutter-gtk GConf guile libcanberra librsvg xorg-libXi"
14 BUILD_DEPENDS="GConf-dev librsvg-dev libcroco-dev mesa-dev clutter-dev \
15 clutter-gtk-dev python-dev pygtk-dev libcanberra-dev gnome-doc-utils-dev \
16 libvorbis-dev libogg-dev util-linux-uuid-dev seed-dev libtool guile-dev \
17 libffi-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure \
23 --sysconfdir=/etc \
24 --bindir=/usr/games \
25 --localstatedir=/var \
26 --disable-scrollkeeper \
27 --enable-introspection=no \
28 --enable-sound \
29 $CONFIGURE_ARGS &&
30 make && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib $fs/usr/share
38 cp -a $install/usr/games $fs/usr
39 cp -a $install/usr/share/$PACKAGE $fs/usr/share
41 # Remove splitted games files
42 rm -f $fs/usr/games/glchess
43 rm -f $fs/usr/games/gnome-sudoku
44 rm -f $fs/usr/share/*/glchess.desktop
45 rm -f $fs/usr/share/*/gnome-sudoku.desktop
47 cp -a $install/var $fs
48 chmod a+w $fs/var/games/*
49 }