wok-6.x annotate gnome-games/receipt @ rev 15266

clisp: add license
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 25 11:03:46 2013 +0000 (2013-09-25)
parents 5bd2d0b52b2f
children cd5ce06b1fb3
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
al@13936 14 DEPENDS="clutter-gtk GConf guile libcanberra librsvg 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 \
al@13936 28 --enable-introspection=no \
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 {
pascal@11207 37 mkdir -p $fs/usr/lib $fs/usr/share
pascal@11207 38
pascal@11207 39 cp -a $install/usr/games $fs/usr
pascal@11207 40 cp -a $install/usr/share/$PACKAGE $fs/usr/share
pascal@11207 41
pascal@11207 42 # Remove splitted games files
pascal@11207 43 rm -f $fs/usr/games/glchess
pascal@11207 44 rm -f $fs/usr/games/gnome-sudoku
al@13936 45 rm -f $fs/usr/share/*/glchess.desktop
al@13936 46 rm -f $fs/usr/share/*/gnome-sudoku.desktop
pascal@11207 47
pascal@11207 48 cp -a $install/var $fs
pascal@11207 49 chmod a+w $fs/var/games/*
pascal@11207 50 }