wok-6.x diff gtk+3/receipt @ rev 16681

Create some /var/run/<dir> in /etc/init.d/<daemon> scritps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 18 20:24:07 2014 +0000 (2014-05-18)
parents 579c7a25f84e
children 9e3347f502bd
line diff
     1.1 --- a/gtk+3/receipt	Sun Aug 11 14:44:56 2013 +0000
     1.2 +++ b/gtk+3/receipt	Sun May 18 20:24:07 2014 +0000
     1.3 @@ -11,7 +11,9 @@
     1.4  WEB_SITE="http://www.gtk.org/"
     1.5  WGET_URL="$GNOME_MIRROR/$SOURCE/${VERSION:0:3}/$TARBALL"
     1.6  CONFIG_FILES="/etc/gtk-3.0/settings.ini"
     1.7 -CROSS="bug: /bin/bash: no: command not found"
     1.8 +
     1.9 +#HOST_ARCH="i486 arm"
    1.10 +CROSS_BUGS="bug: /bin/bash: no: command not found"
    1.11  
    1.12  DEPENDS="atk gdk-pixbuf pango xorg-libXcomposite xorg-libXcursor xorg-libXi \
    1.13  xorg-libXinerama xorg-libXrandr"
    1.14 @@ -20,6 +22,17 @@
    1.15  perl gdk-pixbuf-dev xorg-dev libffi-dev atk-dev pango-dev cairo-dev indent \
    1.16  libxml2-dev"
    1.17  
    1.18 +# Handle cross compilation.
    1.19 +case "$ARCH" in
    1.20 +	arm*) 
    1.21 +		BUILD_DEPENDS="atk-dev pango-dev gdk-pixbuf-dev dbus-dev dbus-glib-dev \
    1.22 +xorg-inputproto"
    1.23 +		ARCH_ARGS="--enable-introspection=no --disable-glibtest --disable-cups \
    1.24 +--disable-papi --with-xinput gio_can_sniff=yes"
    1.25 +		export LDFLAGS=-L/cross/$ARCH/sysroot/usr/lib 
    1.26 +		export CPPFLAGS=-I/cross/$ARCH/sysroot/usr/include ;;
    1.27 +esac
    1.28 +
    1.29  # Rules to configure and make the package.
    1.30  compile_rules()
    1.31  {
    1.32 @@ -27,8 +40,6 @@
    1.33  		--prefix=/usr \
    1.34  		--sysconfdir=/etc \
    1.35  		--localstatedir=/var \
    1.36 -		--build=$HOST_SYSTEM \
    1.37 -		--host=$HOST_SYSTEM \
    1.38  		--enable-debug=no \
    1.39  		--enable-xkb \
    1.40  		--enable-xinerama \
    1.41 @@ -40,7 +51,7 @@
    1.42  		--enable-introspection=yes \
    1.43  		--enable-packagekit=no \
    1.44  		--enable-colord=no \
    1.45 -		--with-x &&
    1.46 +		--with-x $CONFIGURE_ARGS ${ARCH_ARGS}&&
    1.47  	make $MAKEFLAGS &&
    1.48  	make DESTDIR=$DESTDIR install
    1.49  }