wok-stable annotate clutter-gtk/receipt @ rev 5718
clutter-gtk: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 24 14:23:34 2010 +0200 (2010-06-24) |
parents | 98e0e149b48e |
children | b5c56705223a |
rev | line source |
---|---|
pankso@4423 | 1 # SliTaz package receipt. |
pankso@4423 | 2 |
pankso@4423 | 3 PACKAGE="clutter-gtk" |
pankso@4423 | 4 VERSION="0.10.2" |
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" |
pankso@4423 | 9 BUILD_DEPENDS="gtk+-dev clutter-dev" |
pankso@4423 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@4423 | 11 WEB_SITE="http://clutter-project.org/" |
pankso@4423 | 12 WGET_URL="http://www.clutter-project.org/sources/clutter-gtk/0.10/$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 |
pascal@5718 | 18 sed -i -e 's/GTK_WIDGET_REALIZED/gtk_widget_get_realized/' \ |
pascal@5718 | 19 -e 's/GTK_WIDGET_VISIBLE/gtk_widget_get_visible/' \ |
pascal@5718 | 20 clutter-gtk/gtk-clutter-embed.c |
pankso@4423 | 21 ./configure \ |
pankso@4423 | 22 --prefix=/usr \ |
pankso@4423 | 23 $CONFIGURE_ARGS && |
pankso@4423 | 24 make && |
pankso@4423 | 25 make DESTDIR=$PWD/_pkg install |
pankso@4423 | 26 } |
pankso@4423 | 27 |
pankso@4423 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4423 | 29 genpkg_rules() |
pankso@4423 | 30 { |
pankso@4423 | 31 mkdir -p $fs/usr/lib |
pankso@4423 | 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@4423 | 33 } |