wok-current view gcompris/receipt @ rev 20672
Update some WEB_SITE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 24 14:51:04 2019 +0100 (2019-01-24) |
parents | 155bbded77cd |
children | 11cf05d34b13 |
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="https://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 file"
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 }