wok-current diff dbus-glib/receipt @ rev 16552
slitaz-i18n: fix lxpanel keyboard icons
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Apr 29 23:37:11 2014 +0000 (2014-04-29) |
parents | 7896f0694ef6 |
children | 2429812d90ab |
line diff
1.1 --- a/dbus-glib/receipt Sat Aug 10 21:12:16 2013 +0000 1.2 +++ b/dbus-glib/receipt Tue Apr 29 23:37:11 2014 +0000 1.3 @@ -9,20 +9,27 @@ 1.4 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.5 WEB_SITE="http://freedesktop.org/wiki/Software/DBusBindings" 1.6 WGET_URL="http://dbus.freedesktop.org/releases/dbus-glib/$TARBALL" 1.7 -CROSS="bug: can not run test program" 1.8 +HOST_ARCH="i486 arm" 1.9 1.10 DEPENDS="dbus libgio expat" 1.11 -BUILD_DEPENDS="dbus-dev glib-dev libgio-dev expat-dev \ 1.12 -pkg-config gettext" 1.13 +BUILD_DEPENDS="dbus-dev glib-dev libgio-dev expat-dev pkg-config gettext" 1.14 + 1.15 +# Handle cross compilation. Host pkg-config/gettext are used 1.16 +case "$ARCH" in 1.17 + arm*) 1.18 + BUILD_DEPENDS="dbus-dev glib-dev libgio-dev expat-dev" 1.19 + export ac_cv_have_abstract_sockets=${ac_cv_have_abstract_sockets=yes} ;; 1.20 +esac 1.21 1.22 # Rules to configure and make the package. 1.23 compile_rules() 1.24 { 1.25 - cd $src 1.26 - ./configure \ 1.27 - --prefix=/usr \ 1.28 - --build=$HOST_SYSTEM \ 1.29 - --host=$HOST_SYSTEM && 1.30 + ./configure $CONFIGURE_ARGS && 1.31 + case "$ARCH" in 1.32 + arm) 1.33 + patch -p1 < $stuff/dbus-glib.patch && 1.34 + patch -p0 < $stuff/dbus.patch ;; 1.35 + esac && 1.36 make && make install 1.37 } 1.38