wok view clutter-gtk/receipt @ rev 13518
Up p910nd (0.95)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 19 12:24:13 2012 +0200 (2012-10-19) |
parents | 4e6cb5a22274 |
children | 76b72f1ad63c |
line source
1 # SliTaz package receipt.
3 PACKAGE="clutter-gtk"
4 VERSION="0.10.8"
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 gobject-introspection-dev automake autoconf \
10 libtool gtk-doc"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://clutter-project.org/"
13 WGET_URL="http://www.clutter-project.org/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 patch -Np1 -i $stuff/fix-gir.patch
20 sed -i -e 's/GTK_WIDGET_REALIZED/gtk_widget_get_realized/' \
21 -e 's/GTK_WIDGET_VISIBLE/gtk_widget_get_visible/' \
22 clutter-gtk/gtk-clutter-embed.c
23 autoreconf -i
24 ./configure \
25 --prefix=/usr \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$PWD/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
36 cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib
37 }