wok-6.x view gcompris/receipt @ rev 15178

Up upx (3.09)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 18 18:10:49 2013 +0000 (2013-08-18)
parents ca348008f789
children 3ba8d2c9720d
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 cd $src
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 }