wok annotate gcompris/receipt @ rev 10509

libtdb: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 25 15:43:17 2011 +0200 (2011-05-25)
parents 5836cf9d216a
children 5d82e62b9b12
rev   line source
pankso@8838 1 # SliTaz package receipt.
pankso@8838 2
pankso@8838 3 PACKAGE="gcompris"
pankso@9321 4 VERSION="9.6"
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@9139 11 gnet-dev sqlite-dev libcroco-dev intltool perl perl-texi2html"
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 }