wok annotate gcompris/receipt @ rev 21425
updated mdadm (3.3.2 -> 4.1)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 25 16:46:55 2019 +0100 (2019-04-25) |
parents | a78610b2eb47 |
children | af8d823a3077 |
rev | line source |
---|---|
pankso@8838 | 1 # SliTaz package receipt. |
pankso@8838 | 2 |
pankso@8838 | 3 PACKAGE="gcompris" |
Hans-G?nter@20958 | 4 VERSION="17.05" |
pankso@8838 | 5 CATEGORY="games" |
pankso@8838 | 6 SHORT_DESC="Education games." |
pankso@8838 | 7 MAINTAINER="pankso@slitaz.org" |
Hans-G?nter@20958 | 8 LICENSE="GPLv3+" |
pascal@20669 | 9 WEB_SITE="https://www.gcompris.net/" |
Hans-G?nter@20958 | 10 |
Hans-G?nter@20958 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
Hans-G?nter@20958 | 12 WGET_URL="https://www.gcompris.net/download/gtk/src/$TARBALL" |
pascal@15175 | 13 |
pankso@8838 | 14 DEPENDS="pygtk libsdl-mixer librsvg libxml2 gnuchess gnet sqlite \ |
Hans-G?nter@20958 | 15 libcroco" |
pankso@8888 | 16 BUILD_DEPENDS="pygtk-dev libsdl-mixer-dev librsvg-dev libxml2-dev gnuchess \ |
Hans-G?nter@20958 | 17 gnet-dev sqlite-dev libcroco-dev intltool perl perl-texi2html optipng file" |
pankso@8838 | 18 |
pankso@8838 | 19 # Rules to configure and make the package. |
pankso@8838 | 20 compile_rules() |
pankso@8838 | 21 { |
pascal@17672 | 22 sed -i 's/g_memmove/memmove/' src/goocanvas/src/goocanvastable.c |
Hans-G?nter@20958 | 23 |
pascal@15110 | 24 ./configure \ |
pascal@15110 | 25 --enable-sdlmixer && |
Hans-G?nter@20958 | 26 make -j 1 \ |
Hans-G?nter@20958 | 27 LDFLAGS="-Wl,--copy-dt-needed-entries -lgmodule-2.0" \ |
Hans-G?nter@20958 | 28 CFLAGS="-DG_CONST_RETURN=const" && |
Hans-G?nter@20958 | 29 make install && |
pascal@15110 | 30 find | grep .png | xargs optipng -o7 > /dev/null |
pankso@8838 | 31 } |
pankso@8838 | 32 |
pankso@8838 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@8838 | 34 genpkg_rules() |
pankso@8838 | 35 { |
pankso@8838 | 36 mkdir -p $fs/usr/lib/gcompris $fs/usr/share |
pascal@15110 | 37 cp -a $install/usr/bin $fs/usr |
pascal@15110 | 38 cp -a $install/usr/lib/gcompris/*.so* \ |
pankso@8838 | 39 $fs/usr/lib/gcompris |
pascal@15110 | 40 cp -a $install/usr/share/gcompris $fs/usr/share |
Hans-G?nter@20958 | 41 |
Hans-G?nter@20958 | 42 # Music and voices are splitted (gcompris-music, gcompris-voices-fr, etc) |
pankso@8838 | 43 rm -rf $fs/usr/share/gcompris/boards/music |
pankso@8838 | 44 rm -rf $fs/usr/share/gcompris/boards/voices |
pankso@8838 | 45 } |