wok-stable annotate clutter-gtk/receipt @ rev 7979

Fix: firefox needs python to compile
author Antoine Bodin <gokhlayeh@slitaz.org>
date Mon Jan 17 17:59:07 2011 +0100 (2011-01-17)
parents b5c56705223a
children cbfb348cb173
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
slaxemulator@7638 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 }