wok-next view clutter-gtk/receipt @ rev 19542
Build *.pc files for ncurses(w)-dev; rebuild sc-im with ncursesw.pc
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Dec 05 15:16:10 2016 +0200 (2016-12-05) |
parents | af6c2efa6255 |
children | 639a8f8142dd |
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 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://clutter-project.org/"
11 WGET_URL="http://www.clutter-project.org/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="gtk+ clutter"
14 BUILD_DEPENDS="gtk+-dev clutter-dev gobject-introspection-dev automake autoconf \
15 libtool gtk-doc"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 patch -Np1 -i $stuff/fix-gir.patch
22 sed -i -e 's/GTK_WIDGET_REALIZED/gtk_widget_get_realized/' \
23 -e 's/GTK_WIDGET_VISIBLE/gtk_widget_get_visible/' \
24 clutter-gtk/gtk-clutter-embed.c
25 autoreconf -i
26 ./configure \
27 --prefix=/usr \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$DESTDIR install 2>&1 | grep -v /usr/share/gtk-doc/html
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
39 }