wok-6.x view gcompris/receipt @ rev 23952
created recipe for mrxvt-unicode
author | Hans-G?nter Theisgen |
---|---|
date | Tue Sep 22 15:33:55 2020 +0100 (2020-09-22) |
parents | a78610b2eb47 |
children | af8d823a3077 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gcompris"
4 VERSION="17.05"
5 CATEGORY="games"
6 SHORT_DESC="Education games."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPLv3+"
9 WEB_SITE="https://www.gcompris.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://www.gcompris.net/download/gtk/src/$TARBALL"
14 DEPENDS="pygtk libsdl-mixer librsvg libxml2 gnuchess gnet sqlite \
15 libcroco"
16 BUILD_DEPENDS="pygtk-dev libsdl-mixer-dev librsvg-dev libxml2-dev gnuchess \
17 gnet-dev sqlite-dev libcroco-dev intltool perl perl-texi2html optipng file"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 sed -i 's/g_memmove/memmove/' src/goocanvas/src/goocanvastable.c
24 ./configure \
25 --enable-sdlmixer &&
26 make -j 1 \
27 LDFLAGS="-Wl,--copy-dt-needed-entries -lgmodule-2.0" \
28 CFLAGS="-DG_CONST_RETURN=const" &&
29 make install &&
30 find | grep .png | xargs optipng -o7 > /dev/null
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib/gcompris $fs/usr/share
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/lib/gcompris/*.so* \
39 $fs/usr/lib/gcompris
40 cp -a $install/usr/share/gcompris $fs/usr/share
42 # Music and voices are splitted (gcompris-music, gcompris-voices-fr, etc)
43 rm -rf $fs/usr/share/gcompris/boards/music
44 rm -rf $fs/usr/share/gcompris/boards/voices
45 }