wok rev 10360
dbus-glib: can't cross compile
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 23 00:13:43 2011 +0200 (2011-05-23) |
parents | 62ac62e4ddf6 |
children | 1f0549928bcb |
files | dbus-glib/receipt |
line diff
1.1 --- a/dbus-glib/receipt Sun May 22 17:45:43 2011 +0000 1.2 +++ b/dbus-glib/receipt Mon May 23 00:13:43 2011 +0200 1.3 @@ -4,12 +4,14 @@ 1.4 VERSION="0.92" 1.5 CATEGORY="x-window" 1.6 SHORT_DESC="D-Bus glib binding." 1.7 -DEPENDS="dbus glib" 1.8 -BUILD_DEPENDS="dbus-dev glib-dev expat-dev pkg-config gettext" 1.9 MAINTAINER="pankso@slitaz.org" 1.10 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.11 WEB_SITE="http://freedesktop.org/wiki/Software/DBusBindings" 1.12 WGET_URL="http://dbus.freedesktop.org/releases/dbus-glib/$TARBALL" 1.13 +CROSS="bug: can not run test program" 1.14 + 1.15 +DEPENDS="dbus glib expat" 1.16 +BUILD_DEPENDS="dbus-dev glib-dev expat-dev pkg-config gettext" 1.17 1.18 # Rules to configure and make the package. 1.19 compile_rules() 1.20 @@ -17,10 +19,9 @@ 1.21 cd $src 1.22 ./configure \ 1.23 --prefix=/usr \ 1.24 - --mandir=/usr/share/man \ 1.25 - $CONFIGURE_ARGS && 1.26 - make && 1.27 - make DESTDIR=$PWD/_pkg install 1.28 + --build=$HOST_SYSTEM \ 1.29 + --host=$HOST_SYSTEM && 1.30 + make && make install 1.31 } 1.32 1.33 # Rules to gen a SliTaz package suitable for Tazpkg.