wok view gcompris/receipt @ rev 20518
Up openssh (7.9p1), opus (1.3), opus-tools (0.2), zstd (1.3.7)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 02 15:37:03 2018 +0100 (2018-11-02) |
parents | 63230fad92f1 |
children | 155bbded77cd |
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gcompris.net/"
11 WGET_URL="$SF_MIRROR/project/$PACKAGE/$VERSION/$TARBALL"
13 DEPENDS="pygtk libsdl-mixer librsvg libxml2 gnuchess gnet sqlite \
14 libcroco"
15 BUILD_DEPENDS="pygtk-dev libsdl-mixer-dev librsvg-dev libxml2-dev gnuchess \
16 gnet-dev sqlite-dev libcroco-dev intltool perl perl-texi2html optipng"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 sed -i 's/g_memmove/memmove/' src/goocanvas/src/goocanvastable.c
22 ./configure \
23 --enable-sdlmixer &&
24 make LDFLAGS="-Wl,--copy-dt-needed-entries -lgmodule-2.0" \
25 CFLAGS="-DG_CONST_RETURN=const" && make install &&
26 find | grep .png | xargs optipng -o7 > /dev/null
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib/gcompris $fs/usr/share
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/lib/gcompris/*.so* \
35 $fs/usr/lib/gcompris
36 cp -a $install/usr/share/gcompris $fs/usr/share
37 # Music and voices are splited (gcompris-music, gcompris-fr, etc)
38 rm -rf $fs/usr/share/gcompris/boards/music
39 rm -rf $fs/usr/share/gcompris/boards/voices
40 }