wok-next annotate gcompris/receipt @ rev 17171
bash: CVE-2014-6271 fix
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 25 12:57:40 2014 +0200 (2014-09-25) |
parents | ca348008f789 |
children | 3ba8d2c9720d |
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" |
pascal@15175 | 8 LICENSE="GPL2" |
pascal@15175 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@15175 | 10 WEB_SITE="http://www.gcompris.net/" |
pascal@15175 | 11 WGET_URL="$SF_MIRROR/project/$PACKAGE/$VERSION/$TARBALL" |
pascal@15175 | 12 |
pankso@8838 | 13 DEPENDS="pygtk libsdl-mixer librsvg libxml2 gnuchess gnet sqlite \ |
pankso@8838 | 14 libcroco" |
pankso@8888 | 15 BUILD_DEPENDS="pygtk-dev libsdl-mixer-dev librsvg-dev libxml2-dev gnuchess \ |
pascal@15127 | 16 gnet-dev sqlite-dev libcroco-dev intltool perl perl-texi2html optipng" |
pankso@8838 | 17 |
pankso@8838 | 18 # Rules to configure and make the package. |
pankso@8838 | 19 compile_rules() |
pankso@8838 | 20 { |
pascal@15110 | 21 cd $src |
pascal@15110 | 22 ./configure \ |
pascal@15110 | 23 --enable-sdlmixer && |
pascal@15175 | 24 make LDFLAGS="-Wl,--copy-dt-needed-entries -lgmodule-2.0" \ |
pascal@15175 | 25 CFLAGS="-DG_CONST_RETURN=const" && make install && |
pascal@15110 | 26 find | grep .png | xargs optipng -o7 > /dev/null |
pankso@8838 | 27 } |
pankso@8838 | 28 |
pankso@8838 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@8838 | 30 genpkg_rules() |
pankso@8838 | 31 { |
pankso@8838 | 32 mkdir -p $fs/usr/lib/gcompris $fs/usr/share |
pascal@15110 | 33 cp -a $install/usr/bin $fs/usr |
pascal@15110 | 34 cp -a $install/usr/lib/gcompris/*.so* \ |
pankso@8838 | 35 $fs/usr/lib/gcompris |
pascal@15110 | 36 cp -a $install/usr/share/gcompris $fs/usr/share |
pankso@8838 | 37 # Music and voices are splited (gcompris-music, gcompris-fr, etc) |
pankso@8838 | 38 rm -rf $fs/usr/share/gcompris/boards/music |
pankso@8838 | 39 rm -rf $fs/usr/share/gcompris/boards/voices |
pankso@8838 | 40 } |