wok-next annotate clutter-gtk/receipt @ rev 20547
Tiny edits in order to removing *.la
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Apr 04 12:25:12 2018 +0300 (2018-04-04) |
parents | e323d0535e2c |
children | c654f3c3a858 |
rev | line source |
---|---|
al@20463 | 1 # SliTaz package receipt v2. |
pankso@4423 | 2 |
pankso@4423 | 3 PACKAGE="clutter-gtk" |
slaxemulator@7547 | 4 VERSION="0.10.8" |
pankso@4423 | 5 CATEGORY="x-window" |
al@20463 | 6 SHORT_DESC="GTK+ libraries for Clutter" |
pankso@4423 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14996 | 8 LICENSE="LGPL2.1" |
al@20463 | 9 WEB_SITE="http://clutter-project.org/" |
al@20463 | 10 |
slaxemulator@7638 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
slaxemulator@7638 | 12 WGET_URL="http://www.clutter-project.org/sources/$PACKAGE/${VERSION%.*}/$TARBALL" |
pankso@4423 | 13 |
pascal@14996 | 14 BUILD_DEPENDS="gtk+-dev clutter-dev gobject-introspection-dev automake autoconf \ |
pascal@20009 | 15 libtool gtk-doc expat-dev xorg-libxshmfence-dev" |
al@20463 | 16 SPLIT="clutter-gtk-dev" |
pascal@14996 | 17 |
al@20463 | 18 compile_rules() { |
pankso@9699 | 19 patch -Np1 -i $stuff/fix-gir.patch |
al@20547 | 20 sed \ |
al@20547 | 21 -e 's/GTK_WIDGET_REALIZED/gtk_widget_get_realized/' \ |
al@20547 | 22 -e 's/GTK_WIDGET_VISIBLE/gtk_widget_get_visible/' \ |
al@20547 | 23 -i clutter-gtk/gtk-clutter-embed.c |
slaxemulator@12140 | 24 autoreconf -i |
al@20547 | 25 ./configure $CONFIGURE_ARGS && |
pankso@4423 | 26 make && |
al@20547 | 27 make DESTDIR=$DESTDIR install |
pankso@4423 | 28 } |
pankso@4423 | 29 |
al@20463 | 30 genpkg_rules() { |
al@20463 | 31 case $PACKAGE in |
al@20463 | 32 clutter-gtk) |
al@20547 | 33 copy @std |
al@20463 | 34 DEPENDS="gtk+ clutter" |
al@20463 | 35 ;; |
al@20463 | 36 *-dev) |
al@20547 | 37 copy @dev |
al@20463 | 38 ;; |
al@20463 | 39 esac |
pankso@4423 | 40 } |