wok rev 10361

gtk+: make it build so we can follow with all gtk apps on Tank (no cross)
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 23 01:01:19 2011 +0200 (2011-05-23)
parents 7eee8daf368b
children 720c4148ff55
files gtk+/receipt
line diff
     1.1 --- a/gtk+/receipt	Mon May 23 00:13:43 2011 +0200
     1.2 +++ b/gtk+/receipt	Mon May 23 01:01:19 2011 +0200
     1.3 @@ -10,23 +10,25 @@
     1.4  WEB_SITE="http://www.gtk.org/"
     1.5  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
     1.6  CONFIG_FILES="/etc/gtk-2.0"
     1.7 +CROSS="bug: /bin/bash: no: command not found"
     1.8  
     1.9  DEPENDS="glibc-base expat libxcb xcb-util zlib glib cairo pango atk libpng \
    1.10  jpeg tiff gdk-pixbuf fontconfig freetype pixman libgio xorg-libX11 xorg-libXau \
    1.11  xorg-libXcomposite xorg-libXcursor xorg-libXdamage xorg-libXdmcp xorg-libXext \
    1.12  xorg-libXfixes xorg-libXinerama xorg-libXrender xorg-libXrandr"
    1.13 -BUILD_DEPENDS="bash pkg-config xorg-xextproto cups-dev libcomerr3 \
    1.14 -gobject-introspection-dev libffi-dev perl gdk-pixbuf-dev"
    1.15 +BUILD_DEPENDS="bash pkg-config xorg-xextproto cups-dev libcomerr3 cups dbus-dev \
    1.16 +gobject-introspection gobject-introspection-dev libffi-dev perl gdk-pixbuf-dev"
    1.17  
    1.18  # Rules to configure and make the package.
    1.19  compile_rules()
    1.20  {
    1.21      cd $src
    1.22 +    CFLAGS="-02"
    1.23      ./configure \
    1.24      	--prefix=/usr \
    1.25      	--sysconfdir=/etc \
    1.26      	--with-html-dir=/usr/share/doc \
    1.27 -	$CONFIGURE_ARGS &&
    1.28 +		--build=$HOST_SYSTEM --host=$HOST_SYSTEM &&
    1.29      make -j 4 &&
    1.30      make DESTDIR=$DESTDIR install
    1.31  }