wok annotate gnome-games/receipt @ rev 14503

Add get-litecoin
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 11 23:41:18 2013 +0200 (2013-05-11)
parents d67491eda134
children 380ffe05937a
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@11207 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@11207 9 WEB_SITE="http://www.gnome.org/"
pascal@11207 10 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
pascal@11207 11
pascal@11207 12 # Games: aisleriot need guile. glchess use pygtk/mesa and is splitted
al@13936 13 DEPENDS="clutter-gtk GConf guile libcanberra librsvg xorg-libXi"
pascal@11207 14 BUILD_DEPENDS="GConf-dev librsvg-dev libcroco-dev mesa-dev clutter-dev \
pascal@11207 15 clutter-gtk-dev python-dev pygtk-dev libcanberra-dev gnome-doc-utils-dev \
al@13936 16 libvorbis-dev libogg-dev util-linux-uuid-dev seed-dev libtool guile-dev \
al@13936 17 libffi-dev"
pascal@11207 18
pascal@11207 19 # Rules to configure and make the package.
pascal@11207 20 compile_rules()
pascal@11207 21 {
pascal@11207 22 ./configure \
pascal@13796 23 --sysconfdir=/etc \
pascal@11207 24 --bindir=/usr/games \
pascal@11207 25 --localstatedir=/var \
pascal@11207 26 --disable-scrollkeeper \
al@13936 27 --enable-introspection=no \
al@13936 28 --enable-sound \
pascal@11207 29 $CONFIGURE_ARGS &&
al@13936 30 make && make install
pascal@11207 31 }
pascal@11207 32
pascal@11207 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11207 34 genpkg_rules()
pascal@11207 35 {
pascal@11207 36 mkdir -p $fs/usr/lib $fs/usr/share
pascal@11207 37
pascal@11207 38 cp -a $install/usr/games $fs/usr
pascal@11207 39 cp -a $install/usr/share/$PACKAGE $fs/usr/share
pascal@11207 40
pascal@11207 41 # Remove splitted games files
pascal@11207 42 rm -f $fs/usr/games/glchess
pascal@11207 43 rm -f $fs/usr/games/gnome-sudoku
al@13936 44 rm -f $fs/usr/share/*/glchess.desktop
al@13936 45 rm -f $fs/usr/share/*/gnome-sudoku.desktop
pascal@11207 46
pascal@11207 47 cp -a $install/var $fs
pascal@11207 48 chmod a+w $fs/var/games/*
pascal@11207 49 }