wok view clutter-gtk/receipt @ rev 7440

elfutils: make compile_rules work (weird)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Nov 29 17:35:51 2010 +0100 (2010-11-29)
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 }