wok-undigest view gcompris/receipt @ rev 176

rm fftw*: moved to wok
author Rohit Joshi <jozee@slitaz.org>
date Tue Oct 19 21:04:35 2010 -0400 (2010-10-19)
parents
children 18b4c8a0e397
line source
1 # SliTaz package receipt.
3 PACKAGE="gcompris"
4 VERSION="8.4.13"
5 CATEGORY="games"
6 SHORT_DESC="Education games."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="python pygtk libsdl-mixer"
9 BUILD_DEPENDS="python-dev pygtk-dev libsdl-mixer-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.gcompris.net/"
12 WGET_URL="$SF_MIRROR/project/$PACKAGE/$PACKAGE/$VERSION/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --mandir=/usr/share/man \
21 --enable-sdlmixer \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
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 $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/lib/gcompris/*.so* \
33 $fs/usr/lib/gcompris
34 cp -a $_pkg/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 }