wok view gcompris/receipt @ rev 15126

gcompris: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 14 23:02:30 2013 +0000 (2013-08-14)
parents 1ae5963f23df
children ca348008f789
line source
1 # SliTaz package receipt.
3 PACKAGE="gcompris"
4 VERSION="11.12"
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="pygtk-dev libsdl-mixer-dev librsvg-dev libxml2-dev gnuchess \
11 gnet-dev sqlite-dev libcroco-dev intltool perl perl-texi2html optipng \
12 libzip-dev"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WEB_SITE="http://www.gcompris.net/"
15 WGET_URL="$SF_MIRROR/project/$PACKAGE/$VERSION/$TARBALL"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 export LDFLAGS="-Wl,--copy-dt-needed-entries -lgmodule"
22 ./configure \
23 --enable-sdlmixer &&
24 make CFLAGS="-DG_CONST_RETURN=const" && make install &&
25 find | grep .png | xargs optipng -o7 > /dev/null
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib/gcompris $fs/usr/share
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/lib/gcompris/*.so* \
34 $fs/usr/lib/gcompris
35 cp -a $install/usr/share/gcompris $fs/usr/share
36 # Music and voices are splited (gcompris-music, gcompris-fr, etc)
37 rm -rf $fs/usr/share/gcompris/boards/music
38 rm -rf $fs/usr/share/gcompris/boards/voices
39 }