wok-current view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="clutter-gtk"
4 VERSION="0.10.2"
5 CATEGORY="x-window"
6 SHORT_DESC="GTK+ libraries for Clutter."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ clutter"
9 BUILD_DEPENDS="gtk+-dev clutter-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://clutter-project.org/"
12 WGET_URL="http://www.clutter-project.org/sources/clutter-gtk/0.10/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 sed -i -e 's/GTK_WIDGET_REALIZED/gtk_widget_get_realized/' \
19 -e 's/GTK_WIDGET_VISIBLE/gtk_widget_get_visible/' \
20 clutter-gtk/gtk-clutter-embed.c
21 ./configure \
22 --prefix=/usr \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 }