wok-current annotate gcompris/receipt @ rev 8838

Add gcompris (9.5) - For my sun :-)
author Christophe Lincoln <pankso@slitaz.org>
date Thu Feb 24 18:33:25 2011 +0100 (2011-02-24)
parents
children 64dc7f280f43
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@8838 10 BUILD_DEPENDS="pygtk-dev libsdl-mixer-dev librsvg-dev libxml2-dev gnuchess \
pankso@8838 11 gnet-dev sqlite-dev libcroco-dev"
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 }