wok-6.x rev 16127
ARM: add atk (trying to cross compile GTK)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Mar 25 17:09:00 2014 +0100 (2014-03-25) |
parents | 2511abf8a53e |
children | 931cc33c1988 |
files | atk-dev/receipt atk/receipt |
line diff
1.1 --- a/atk-dev/receipt Mon Mar 24 19:30:25 2014 +0000 1.2 +++ b/atk-dev/receipt Tue Mar 25 17:09:00 2014 +0100 1.3 @@ -8,6 +8,7 @@ 1.4 LICENSE="GPL2" 1.5 WANTED="atk" 1.6 WEB_SITE="http://www.gnome.org/" 1.7 +HOST_ARCH="i486 arm" 1.8 1.9 DEPENDS="atk pkg-config" 1.10
2.1 --- a/atk/receipt Mon Mar 24 19:30:25 2014 +0000 2.2 +++ b/atk/receipt Tue Mar 25 17:09:00 2014 +0100 2.3 @@ -6,17 +6,23 @@ 2.4 SHORT_DESC="Accessibility toolkit." 2.5 MAINTAINER="pankso@slitaz.org" 2.6 LICENSE="GPL2" 2.7 -DEPENDS="glib" 2.8 -BUILD_DEPENDS="libgio-dev glib-dev gobject-introspection-dev pkg-config" 2.9 TARBALL="$PACKAGE-$VERSION.tar.xz" 2.10 WEB_SITE="http://www.gnome.org/" 2.11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:3}/$TARBALL" 2.12 TAGS="accessibility" 2.13 +HOST_ARCH="i486 arm" 2.14 + 2.15 +DEPENDS="glib" 2.16 +BUILD_DEPENDS="libgio-dev glib-dev" 2.17 + 2.18 +# Handle cross compilation 2.19 +case "$ARCH" in 2.20 + i?86) BUILD_DEPENDS="$BUILD_DEPENDS gobject-introspection-dev" ;; 2.21 +esac 2.22 2.23 # Rules to configure and make the package. 2.24 compile_rules() 2.25 { 2.26 - cd $src 2.27 ./configure \ 2.28 $CONFIGURE_ARGS && 2.29 make &&