wok view gcompris/receipt @ rev 14986

Up: thunderbird-langpack-zh_CN (17.0.8esr)
author Dominique Corbex <domcox@slitaz.org>
date Thu Aug 08 22:21:17 2013 +0200 (2013-08-08)
parents 4abc5e94a070
children 1ae5963f23df
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WEB_SITE="http://www.gcompris.net/"
14 WGET_URL="$SF_MIRROR/project/$PACKAGE/$VERSION/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --enable-sdlmixer &&
22 make CFLAGS="-DG_CONST_RETURN=const" && make install &&
23 find | grep .png | xargs optipng -o7 > /dev/null
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib/gcompris $fs/usr/share
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/lib/gcompris/*.so* \
32 $fs/usr/lib/gcompris
33 cp -a $_pkg/usr/share/gcompris $fs/usr/share
34 # Music and voices are splited (gcompris-music, gcompris-fr, etc)
35 rm -rf $fs/usr/share/gcompris/boards/music
36 rm -rf $fs/usr/share/gcompris/boards/voices
37 }