wok view gcompris/receipt @ rev 8865

Fix: gcompris build depends
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Feb 26 05:05:54 2011 +0100 (2011-02-26)
parents 5d8d9b8866f6
children 3246894804ff
line source
1 # SliTaz package receipt.
3 PACKAGE="gcompris"
4 VERSION="9.5"
5 CATEGORY="games"
6 SHORT_DESC="Education games."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="pygtk libsdl-mixer librsvg libxml2 gnuchess gnet sqlite \
9 libcroco"
10 BUILD_DEPENDS="intltool perl-texi2html"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WEB_SITE="http://www.gcompris.net/"
13 WGET_URL="$SF_MIRROR/project/$PACKAGE/$PACKAGE/$VERSION/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --enable-sdlmixer &&
21 make && make install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib/gcompris $fs/usr/share
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/lib/gcompris/*.so* \
30 $fs/usr/lib/gcompris
31 cp -a $_pkg/usr/share/gcompris $fs/usr/share
32 # Music and voices are splited (gcompris-music, gcompris-fr, etc)
33 rm -rf $fs/usr/share/gcompris/boards/music
34 rm -rf $fs/usr/share/gcompris/boards/voices
35 }