wok annotate clutter-gtk/receipt @ rev 19522
Up: tzdata (2016j), slitaz-i18n (161124)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Nov 24 16:58:15 2016 +0200 (2016-11-24) |
parents | af6c2efa6255 |
children | 544e47246b33 |
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" |
pascal@14996 | 8 LICENSE="LGPL2.1" |
slaxemulator@7638 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@4423 | 10 WEB_SITE="http://clutter-project.org/" |
slaxemulator@7638 | 11 WGET_URL="http://www.clutter-project.org/sources/$PACKAGE/${VERSION%.*}/$TARBALL" |
pankso@4423 | 12 |
pascal@14996 | 13 DEPENDS="gtk+ clutter" |
pascal@14996 | 14 BUILD_DEPENDS="gtk+-dev clutter-dev gobject-introspection-dev automake autoconf \ |
pascal@15009 | 15 libtool gtk-doc" |
pascal@14996 | 16 |
pankso@4423 | 17 # Rules to configure and make the package. |
pankso@4423 | 18 compile_rules() |
pankso@4423 | 19 { |
pankso@4423 | 20 cd $src |
pankso@9699 | 21 patch -Np1 -i $stuff/fix-gir.patch |
pascal@5718 | 22 sed -i -e 's/GTK_WIDGET_REALIZED/gtk_widget_get_realized/' \ |
pascal@5718 | 23 -e 's/GTK_WIDGET_VISIBLE/gtk_widget_get_visible/' \ |
pascal@5718 | 24 clutter-gtk/gtk-clutter-embed.c |
slaxemulator@12140 | 25 autoreconf -i |
pankso@4423 | 26 ./configure \ |
pankso@4423 | 27 --prefix=/usr \ |
pankso@4423 | 28 $CONFIGURE_ARGS && |
pankso@4423 | 29 make && |
pascal@15045 | 30 make DESTDIR=$DESTDIR install 2>&1 | grep -v /usr/share/gtk-doc/html |
pankso@4423 | 31 } |
pankso@4423 | 32 |
pankso@4423 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4423 | 34 genpkg_rules() |
pankso@4423 | 35 { |
pankso@4423 | 36 mkdir -p $fs/usr/lib |
pascal@14996 | 37 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@14996 | 38 cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib |
pankso@4423 | 39 } |