wok-current view gcompris/receipt @ rev 15151
Up liblognorm (0.3.7)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 15 13:50:02 2013 +0000 (2013-08-15) |
parents | 00bc986f2661 |
children | 63230fad92f1 |
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 export LDFLAGS="-Wl,--copy-dt-needed-entries -lgmodule"
21 ./configure \
22 --enable-sdlmixer &&
23 make CFLAGS="-DG_CONST_RETURN=const" && make install &&
24 find | grep .png | xargs optipng -o7 > /dev/null
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib/gcompris $fs/usr/share
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/lib/gcompris/*.so* \
33 $fs/usr/lib/gcompris
34 cp -a $install/usr/share/gcompris $fs/usr/share
35 # Music and voices are splited (gcompris-music, gcompris-fr, etc)
36 rm -rf $fs/usr/share/gcompris/boards/music
37 rm -rf $fs/usr/share/gcompris/boards/voices
38 }