wok annotate clutter/receipt @ rev 10031

glibc: make it cross compilable
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 20 02:51:43 2011 +0200 (2011-05-20)
parents 19ab658d3d19
children c816e16adce2
rev   line source
pankso@4423 1 # SliTaz package receipt.
pankso@4423 2
pankso@4423 3 PACKAGE="clutter"
slaxemulator@8895 4 VERSION="1.6.6"
pankso@4423 5 CATEGORY="x-window"
pankso@4423 6 SHORT_DESC="Animated graphical user interfaces library."
pankso@4423 7 MAINTAINER="pankso@slitaz.org"
jozee@5018 8 SUGGESTED="nvidia"
slaxemulator@7639 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@4423 10 WEB_SITE="http://clutter-project.org/"
slaxemulator@7637 11 WGET_URL="http://www.clutter-project.org/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
pankso@4423 12
pankso@9808 13 DEPENDS="atk libgio gdk-pixbuf cairo pango json-glib mesa libdrm \
pankso@9808 14 xorg-libXcomposite"
pankso@9808 15 BUILD_DEPENDS="atk-dev libgio-dev gdk-pixbuf-dev cairo-dev pango-dev \
pankso@9808 16 json-glib-dev mesa-dev libdrm-dev xorg-libXcomposite-dev \
pankso@9808 17 gobject-introspection-dev pkg-config"
pankso@9808 18
pankso@4423 19 # Rules to configure and make the package.
pankso@4423 20 compile_rules()
pankso@4423 21 {
pankso@4423 22 cd $src
pankso@4423 23 ./configure \
pankso@4423 24 --prefix=/usr \
pankso@4423 25 $CONFIGURE_ARGS &&
pankso@4423 26 make &&
pankso@4423 27 make DESTDIR=$PWD/_pkg install
pankso@4423 28 }
pankso@4423 29
pankso@4423 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4423 31 genpkg_rules()
pankso@4423 32 {
pankso@4423 33 mkdir -p $fs/usr/lib
pankso@4423 34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
slaxemulator@7637 35 cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib
pankso@4423 36 }