wok-current annotate gcompris/receipt @ rev 11240
Up: gcompris, goocanvas, pidgin
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sun Nov 06 20:29:05 2011 +0000 (2011-11-06) |
parents | 1fce24b49270 |
children | 1a6691103f0e |
rev | line source |
---|---|
pankso@8838 | 1 # SliTaz package receipt. |
pankso@8838 | 2 |
pankso@8838 | 3 PACKAGE="gcompris" |
devl547@11240 | 4 VERSION="11.09" |
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 \ |
devl547@11240 | 11 gnet-dev sqlite-dev libcroco-dev intltool perl perl-texi2html optipng" |
pankso@8838 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@8838 | 13 WEB_SITE="http://www.gcompris.net/" |
devl547@11240 | 14 WGET_URL="$SF_MIRROR/project/$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 |
devl547@11240 | 20 find | grep .png | xargs optipng -o7 |
pankso@8838 | 21 ./configure \ |
pankso@8838 | 22 --enable-sdlmixer && |
pankso@8838 | 23 make && make install |
pankso@8838 | 24 } |
pankso@8838 | 25 |
pankso@8838 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@8838 | 27 genpkg_rules() |
pankso@8838 | 28 { |
pankso@8838 | 29 mkdir -p $fs/usr/lib/gcompris $fs/usr/share |
pankso@8838 | 30 cp -a $_pkg/usr/bin $fs/usr |
pankso@8838 | 31 cp -a $_pkg/usr/lib/gcompris/*.so* \ |
pankso@8838 | 32 $fs/usr/lib/gcompris |
pankso@8838 | 33 cp -a $_pkg/usr/share/gcompris $fs/usr/share |
pankso@8838 | 34 # Music and voices are splited (gcompris-music, gcompris-fr, etc) |
pankso@8838 | 35 rm -rf $fs/usr/share/gcompris/boards/music |
pankso@8838 | 36 rm -rf $fs/usr/share/gcompris/boards/voices |
pankso@8838 | 37 } |