wok view gnome-games/receipt @ rev 13922

cssed, gnome-games: try to fix build
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jan 26 00:50:39 2013 +0000 (2013-01-26)
parents 6b09507225ec
children 5bd2d0b52b2f
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 LDFLAGS="$LDFLAGS -lgmodule"
23 ./configure \
24 --sysconfdir=/etc \
25 --bindir=/usr/games \
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 }