wok-6.x view gnome-games/receipt @ rev 12167
Up: slitaz-tools (4.8.1) - Should fix Xorg config file creation
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Mar 20 20:59:03 2012 +0100 (2012-03-20) |
parents | |
children | 73641efed1cc |
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-ng-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-ng-uuid-dev seed-dev"
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 }