wok annotate gcompris/receipt @ rev 8888

Fix gcompris receipt: It dont build on my local env without full BUILD_DEPENDS and it alwas cook without perl-texi2html
author Christophe Lincoln <pankso@slitaz.org>
date Sun Feb 27 11:52:25 2011 +0100 (2011-02-27)
parents 64dc7f280f43
children 1866dcdc7fbd
rev   line source
pankso@8838 1 # SliTaz package receipt.
pankso@8838 2
pankso@8838 3 PACKAGE="gcompris"
pankso@8838 4 VERSION="9.5"
pankso@8838 5 CATEGORY="games"
pankso@8838 6 SHORT_DESC="Education games."
pankso@8838 7 MAINTAINER="pankso@slitaz.org"
pankso@8838 8 DEPENDS="pygtk libsdl-mixer librsvg libxml2 gnuchess gnet sqlite \
pankso@8838 9 libcroco"
pankso@8888 10 BUILD_DEPENDS="pygtk-dev libsdl-mixer-dev librsvg-dev libxml2-dev gnuchess \
pankso@8888 11 gnet-dev sqlite-dev libcroco-dev intltool"
pankso@8838 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@8838 13 WEB_SITE="http://www.gcompris.net/"
pankso@8838 14 WGET_URL="$SF_MIRROR/project/$PACKAGE/$PACKAGE/$VERSION/$TARBALL"
pankso@8838 15
pankso@8838 16 # Rules to configure and make the package.
pankso@8838 17 compile_rules()
pankso@8838 18 {
pankso@8838 19 cd $src
pankso@8838 20 ./configure \
pankso@8838 21 --enable-sdlmixer &&
pankso@8838 22 make && make install
pankso@8838 23 }
pankso@8838 24
pankso@8838 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@8838 26 genpkg_rules()
pankso@8838 27 {
pankso@8838 28 mkdir -p $fs/usr/lib/gcompris $fs/usr/share
pankso@8838 29 cp -a $_pkg/usr/bin $fs/usr
pankso@8838 30 cp -a $_pkg/usr/lib/gcompris/*.so* \
pankso@8838 31 $fs/usr/lib/gcompris
pankso@8838 32 cp -a $_pkg/usr/share/gcompris $fs/usr/share
pankso@8838 33 # Music and voices are splited (gcompris-music, gcompris-fr, etc)
pankso@8838 34 rm -rf $fs/usr/share/gcompris/boards/music
pankso@8838 35 rm -rf $fs/usr/share/gcompris/boards/voices
pankso@8838 36 }