wok-4.x view clutter/receipt @ rev 10030

gcc: use CONFIGURE_ARGS so we can cross compile from --build system for --host system (Tank: i686 --> i486)
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 20 01:50:57 2011 +0200 (2011-05-20)
parents 19ab658d3d19
children c816e16adce2
line source
1 # SliTaz package receipt.
3 PACKAGE="clutter"
4 VERSION="1.6.6"
5 CATEGORY="x-window"
6 SHORT_DESC="Animated graphical user interfaces library."
7 MAINTAINER="pankso@slitaz.org"
8 SUGGESTED="nvidia"
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="atk libgio gdk-pixbuf cairo pango json-glib mesa libdrm \
14 xorg-libXcomposite"
15 BUILD_DEPENDS="atk-dev libgio-dev gdk-pixbuf-dev cairo-dev pango-dev \
16 json-glib-dev mesa-dev libdrm-dev xorg-libXcomposite-dev \
17 gobject-introspection-dev pkg-config"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 ./configure \
24 --prefix=/usr \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib
36 }