wok-6.x annotate clutter-gtk/receipt @ rev 13291

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