wok-current diff 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
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gcompris/receipt	Thu Feb 24 18:33:25 2011 +0100
     1.3 @@ -0,0 +1,36 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="gcompris"
     1.7 +VERSION="9.5"
     1.8 +CATEGORY="games"
     1.9 +SHORT_DESC="Education games."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +DEPENDS="pygtk libsdl-mixer librsvg libxml2 gnuchess gnet sqlite \
    1.12 +libcroco"
    1.13 +BUILD_DEPENDS="pygtk-dev libsdl-mixer-dev librsvg-dev libxml2-dev gnuchess \
    1.14 +gnet-dev sqlite-dev libcroco-dev"
    1.15 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 +WEB_SITE="http://www.gcompris.net/"
    1.17 +WGET_URL="$SF_MIRROR/project/$PACKAGE/$PACKAGE/$VERSION/$TARBALL"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +    cd $src
    1.23 +    ./configure \
    1.24 +    	--enable-sdlmixer &&
    1.25 +    make && make install
    1.26 +}
    1.27 +
    1.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 +genpkg_rules()
    1.30 +{
    1.31 +	mkdir -p $fs/usr/lib/gcompris $fs/usr/share
    1.32 +	cp -a $_pkg/usr/bin $fs/usr
    1.33 +	cp -a $_pkg/usr/lib/gcompris/*.so* \
    1.34 +		$fs/usr/lib/gcompris
    1.35 +	cp -a $_pkg/usr/share/gcompris $fs/usr/share
    1.36 +	# Music and voices are splited (gcompris-music, gcompris-fr, etc)
    1.37 +	rm -rf $fs/usr/share/gcompris/boards/music
    1.38 +	rm -rf $fs/usr/share/gcompris/boards/voices
    1.39 +}