wok-next view gcompris/receipt @ rev 17191
Add tsocks
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 06 15:05:57 2014 +0200 (2014-10-06) |
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 }