wok-stable view gcompris/receipt @ rev 10943
asterisk: store ilbc sources in src cache (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 29 18:23:58 2011 +0200 (2011-08-29) |
parents | 5836cf9d216a |
children | 5d82e62b9b12 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gcompris"
4 VERSION="9.6"
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"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WEB_SITE="http://www.gcompris.net/"
14 WGET_URL="$SF_MIRROR/project/$PACKAGE/$PACKAGE/$VERSION/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --enable-sdlmixer &&
22 make && make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib/gcompris $fs/usr/share
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/lib/gcompris/*.so* \
31 $fs/usr/lib/gcompris
32 cp -a $_pkg/usr/share/gcompris $fs/usr/share
33 # Music and voices are splited (gcompris-music, gcompris-fr, etc)
34 rm -rf $fs/usr/share/gcompris/boards/music
35 rm -rf $fs/usr/share/gcompris/boards/voices
36 }