wok view gnome-games/receipt @ rev 13295

Add libQtDeclarative
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 28 13:39:20 2012 +0200 (2012-08-28)
parents 73641efed1cc
children 6b09507225ec
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="GConf librsvg libcroco mesa clutter clutter-gtk libcanberra \
14 libvorbis libogg util-linux-uuid gnuchess gnome-games-icons seed"
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"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 ./configure \
24 --bindir=/usr/games \
25 --sysconfdir=/etc \
26 --localstatedir=/var \
27 --enable-omitgames=aisleriot \
28 --disable-scrollkeeper \
29 $CONFIGURE_ARGS &&
30 make && make install &&
31 rm $DESTDIR/usr/share/*/glchess.desktop &&
32 rm $DESTDIR/usr/share/*/gnome-sudoku.desktop
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib $fs/usr/share
40 cp -a $install/usr/games $fs/usr
41 cp -a $install/usr/share/$PACKAGE $fs/usr/share
43 # Remove splitted games files
44 rm -f $fs/usr/games/glchess
45 rm -f $fs/usr/games/gnome-sudoku
47 cp -a $install/var $fs
48 chmod a+w $fs/var/games/*
49 }