wok-6.x view gnome-games/receipt @ rev 20187
memtest: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 01 15:51:03 2018 +0100 (2018-02-01) |
parents | 380ffe05937a |
children | 86790a278e70 |
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 seed 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 \
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/$PACKAGE-common
39 cp -a $install/usr/games $fs/usr
40 cp -a $install/usr/lib/$PACKAGE $fs/usr/lib
41 cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
42 cp -a $install/usr/share/$PACKAGE $fs/usr/share
43 cp -a $install/usr/share/$PACKAGE-common/cards \
44 $fs/usr/share/$PACKAGE-common
45 cp -a $install/usr/share/gir-1.0 $fs/usr/share
47 # Remove splitted games files
48 rm -f $fs/usr/games/glchess
49 rm -f $fs/usr/games/gnome-sudoku
50 rm -f $fs/usr/share/*/glchess.desktop
51 rm -f $fs/usr/share/*/gnome-sudoku.desktop
53 cp -a $install/var $fs
54 chmod a+w $fs/var/games/*
55 }