wok-current diff vte/receipt @ rev 16249

ARM: add vte with sakura
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 03 23:22:36 2014 +0200 (2014-04-03)
parents 4c1fa84f1dd7
children a1fff9cb2cd5
line diff
     1.1 --- a/vte/receipt	Fri Jan 03 11:32:22 2014 +0100
     1.2 +++ b/vte/receipt	Thu Apr 03 23:22:36 2014 +0200
     1.3 @@ -9,22 +9,29 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.bz2"
     1.5  WEB_SITE="http://www.gnome.org/"
     1.6  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
     1.7 -LOCALE=""
     1.8 +HOST_ARCH="i486 arm"
     1.9  
    1.10  DEPENDS="gtk+ ncurses xorg-libXdamage"
    1.11 -BUILD_DEPENDS="pygtk-dev python-dev gtk+-dev perl perl-xml-parser \
    1.12 -intltool ncurses-dev gobject-introspection-dev"
    1.13 +BUILD_DEPENDS="gtk+-dev ncurses-dev "
    1.14 +
    1.15 +# Handle cross compilation.
    1.16 +case "$ARCH" in
    1.17 +	i?86) 
    1.18 +		BUILD_DEPENDS="pygtk-dev python-dev gobject-introspection-dev
    1.19 +		perl perl-xml-parser"
    1.20 +		ARCH_ARGS="--enable-introspection=yes" ;;
    1.21 +	arm) 
    1.22 +		ARCH_ARGS="--enable-introspection=no" ;;
    1.23 +esac
    1.24  
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27  {
    1.28 -	cd $src
    1.29  	./configure \
    1.30  		--libexecdir=/usr/lib/vte \
    1.31  		--with-html-dir=/usr/share/doc \
    1.32  		--with-pcre \
    1.33  		--disable-static \
    1.34 -		--enable-introspection \
    1.35  		$CONFIGURE_ARGS &&
    1.36  	make && make install
    1.37  }