wok-current diff gobject-introspection/receipt @ rev 16212
weston: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 31 12:57:26 2014 +0000 (2014-03-31) |
parents | 10e6c72b2c15 |
children | 058deebcab1d |
line diff
1.1 --- a/gobject-introspection/receipt Sun Aug 11 18:44:25 2013 +0000 1.2 +++ b/gobject-introspection/receipt Mon Mar 31 12:57:26 2014 +0000 1.3 @@ -10,9 +10,20 @@ 1.4 TARBALL="$PACKAGE-$VERSION.tar.xz" 1.5 SERIES=$(echo $VERSION | cut -d. -f1,2) 1.6 WGET_URL="$GNOME_MIRROR/$PACKAGE/$SERIES/$TARBALL" 1.7 +#HOST_ARCH="i486 arm" 1.8 1.9 -DEPENDS="libgio" 1.10 -BUILD_DEPENDS="flex bison glib-dev python-dev libgio-dev libffi-dev cairo-dev" 1.11 +DEPENDS="libgio dbux" 1.12 +BUILD_DEPENDS="flex bison glib-dev python-dev libgio-dev libffi-dev \ 1.13 +cairo-dev dbus-dev" 1.14 + 1.15 +# Handle cross compilation 1.16 +case "$ARCH" in 1.17 + arm*) 1.18 + export CFLAGS="$CFLAGS -L/cross/$ARCH/sysroot/usr/lib" 1.19 + export LDFLAGS="-L/cross/$ARCH/sysroot/usr/lib" 1.20 + export PKG_CONFIG_PATH="/cross/$ARCH/sysroot/usr/pkgconfig" 1.21 + BUILD_DEPENDS="glib-dev libgio-dev libffi-dev cairo-dev dbus-dev" ;; 1.22 +esac 1.23 1.24 # Rules to configure and make the package. 1.25 compile_rules() 1.26 @@ -20,8 +31,7 @@ 1.27 ./configure \ 1.28 --disable-static \ 1.29 $CONFIGURE_ARGS && 1.30 - make && 1.31 - make install 1.32 + make && make install 1.33 } 1.34 1.35 # Rules to gen a SliTaz package suitable for Tazpkg.