wok-current annotate gcompris/receipt @ rev 15151
Up liblognorm (0.3.7)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 15 13:50:02 2013 +0000 (2013-08-15) |
parents | 00bc986f2661 |
children | 63230fad92f1 |
rev | line source |
---|---|
pankso@8838 | 1 # SliTaz package receipt. |
pankso@8838 | 2 |
pankso@8838 | 3 PACKAGE="gcompris" |
gokhlayeh@12105 | 4 VERSION="11.12" |
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 \ |
pascal@15127 | 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 { |
pascal@15110 | 19 cd $src |
pascal@15110 | 20 export LDFLAGS="-Wl,--copy-dt-needed-entries -lgmodule" |
pascal@15110 | 21 ./configure \ |
pascal@15110 | 22 --enable-sdlmixer && |
pascal@15110 | 23 make CFLAGS="-DG_CONST_RETURN=const" && make install && |
pascal@15110 | 24 find | grep .png | xargs optipng -o7 > /dev/null |
pankso@8838 | 25 } |
pankso@8838 | 26 |
pankso@8838 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@8838 | 28 genpkg_rules() |
pankso@8838 | 29 { |
pankso@8838 | 30 mkdir -p $fs/usr/lib/gcompris $fs/usr/share |
pascal@15110 | 31 cp -a $install/usr/bin $fs/usr |
pascal@15110 | 32 cp -a $install/usr/lib/gcompris/*.so* \ |
pankso@8838 | 33 $fs/usr/lib/gcompris |
pascal@15110 | 34 cp -a $install/usr/share/gcompris $fs/usr/share |
pankso@8838 | 35 # Music and voices are splited (gcompris-music, gcompris-fr, etc) |
pankso@8838 | 36 rm -rf $fs/usr/share/gcompris/boards/music |
pankso@8838 | 37 rm -rf $fs/usr/share/gcompris/boards/voices |
pankso@8838 | 38 } |