wok-next annotate clutter-gtk/receipt @ rev 11673
Add uclibc-cross-compiler-x86_64, uclibc-x86_64
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 18 08:32:23 2012 +0100 (2012-02-18) |
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 } |