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

clutter-gtk: Fixed again. It needs gtk-doc and a autoreconf -i inorder to not get 'clutter/clutter.h: No such file or directory' error.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Mar 13 22:22:35 2012 -0500 (2012-03-13)
parents cba3722453f5
children 1da4339c4cf1
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@12140 9 BUILD_DEPENDS="gtk+-dev clutter-dev gobject-introspection-dev automake autoconf gtk-doc"
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
slaxemulator@12140 22 autoreconf -i
pankso@4423 23 ./configure \
pankso@4423 24 --prefix=/usr \
pankso@4423 25 $CONFIGURE_ARGS &&
pankso@4423 26 make &&
pankso@4423 27 make DESTDIR=$PWD/_pkg install
pankso@4423 28 }
pankso@4423 29
pankso@4423 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4423 31 genpkg_rules()
pankso@4423 32 {
pankso@4423 33 mkdir -p $fs/usr/lib
pankso@4423 34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
slaxemulator@7638 35 cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib
pankso@4423 36 }