wok-6.x annotate clutter-gtk/receipt @ rev 10369

xorg-libXinerama: can't cross (use host cc)
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 23 03:43:26 2011 +0200 (2011-05-23)
parents a037a9259b0c
children 082eb0e58670
rev   line source
pankso@4423 1 # SliTaz package receipt.
pankso@4423 2
pankso@4423 3 PACKAGE="clutter-gtk"
slaxemulator@7547 4 VERSION="0.10.8"
pankso@4423 5 CATEGORY="x-window"
pankso@4423 6 SHORT_DESC="GTK+ libraries for Clutter."
pankso@4423 7 MAINTAINER="pankso@slitaz.org"
pankso@4423 8 DEPENDS="gtk+ clutter"
slaxemulator@7638 9 BUILD_DEPENDS="gtk+-dev clutter-dev gobject-introspection-dev automake autoconf"
slaxemulator@7638 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@4423 11 WEB_SITE="http://clutter-project.org/"
slaxemulator@7638 12 WGET_URL="http://www.clutter-project.org/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
pankso@4423 13
pankso@4423 14 # Rules to configure and make the package.
pankso@4423 15 compile_rules()
pankso@4423 16 {
pankso@4423 17 cd $src
pankso@9699 18 patch -Np1 -i $stuff/fix-gir.patch
pascal@5718 19 sed -i -e 's/GTK_WIDGET_REALIZED/gtk_widget_get_realized/' \
pascal@5718 20 -e 's/GTK_WIDGET_VISIBLE/gtk_widget_get_visible/' \
pascal@5718 21 clutter-gtk/gtk-clutter-embed.c
pankso@4423 22 ./configure \
pankso@4423 23 --prefix=/usr \
pankso@4423 24 $CONFIGURE_ARGS &&
pankso@4423 25 make &&
pankso@4423 26 make DESTDIR=$PWD/_pkg install
pankso@4423 27 }
pankso@4423 28
pankso@4423 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4423 30 genpkg_rules()
pankso@4423 31 {
pankso@4423 32 mkdir -p $fs/usr/lib
pankso@4423 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
slaxemulator@7638 34 cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib
pankso@4423 35 }