wok-current annotate gnome-games/receipt @ rev 18857

gnome-games (patch for aisleriot, swell-foop, lightsoff)
author Lucas Levrel <llevrel@yahoo.fr>
date Tue Jan 26 22:00:52 2016 +0100 (2016-01-26)
parents 380ffe05937a
children 86790a278e70
rev   line source
pascal@11207 1 # SliTaz package receipt.
pascal@11207 2
pascal@11207 3 PACKAGE="gnome-games"
pascal@11207 4 VERSION="2.32.1"
pascal@11207 5 CATEGORY="games"
pascal@11207 6 SHORT_DESC="A set of of simple games from Gnome."
pascal@11207 7 MAINTAINER="pankso@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
pascal@11207 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@11207 10 WEB_SITE="http://www.gnome.org/"
pascal@11207 11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
pascal@11207 12
pascal@11207 13 # Games: aisleriot need guile. glchess use pygtk/mesa and is splitted
llevrel@18857 14 DEPENDS="clutter-gtk GConf guile libcanberra librsvg seed xorg-libXi"
pascal@11207 15 BUILD_DEPENDS="GConf-dev librsvg-dev libcroco-dev mesa-dev clutter-dev \
pascal@11207 16 clutter-gtk-dev python-dev pygtk-dev libcanberra-dev gnome-doc-utils-dev \
al@13936 17 libvorbis-dev libogg-dev util-linux-uuid-dev seed-dev libtool guile-dev \
al@13936 18 libffi-dev"
pascal@11207 19
pascal@11207 20 # Rules to configure and make the package.
pascal@11207 21 compile_rules()
pascal@11207 22 {
pascal@11207 23 ./configure \
pascal@13796 24 --sysconfdir=/etc \
pascal@11207 25 --bindir=/usr/games \
pascal@11207 26 --localstatedir=/var \
pascal@11207 27 --disable-scrollkeeper \
llevrel@18857 28 --enable-introspection \
al@13936 29 --enable-sound \
pascal@11207 30 $CONFIGURE_ARGS &&
al@13936 31 make && make install
pascal@11207 32 }
pascal@11207 33
pascal@11207 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11207 35 genpkg_rules()
pascal@11207 36 {
llevrel@18857 37 mkdir -p $fs/usr/lib $fs/usr/share/$PACKAGE-common
llevrel@18857 38
pascal@11207 39 cp -a $install/usr/games $fs/usr
llevrel@18857 40 cp -a $install/usr/lib/$PACKAGE $fs/usr/lib
llevrel@18857 41 cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
pascal@11207 42 cp -a $install/usr/share/$PACKAGE $fs/usr/share
llevrel@18857 43 cp -a $install/usr/share/$PACKAGE-common/cards \
llevrel@18857 44 $fs/usr/share/$PACKAGE-common
llevrel@18857 45 cp -a $install/usr/share/gir-1.0 $fs/usr/share
pascal@11207 46
pascal@11207 47 # Remove splitted games files
pascal@11207 48 rm -f $fs/usr/games/glchess
pascal@11207 49 rm -f $fs/usr/games/gnome-sudoku
al@13936 50 rm -f $fs/usr/share/*/glchess.desktop
al@13936 51 rm -f $fs/usr/share/*/gnome-sudoku.desktop
llevrel@18857 52
pascal@11207 53 cp -a $install/var $fs
pascal@11207 54 chmod a+w $fs/var/games/*
pascal@11207 55 }