wok diff nano/receipt @ rev 16319

ARM: add mpfr + mpc-library (to cook native ARM gcc) and try to fix glib (gtk crashe are from libgobject-2.0.so.0)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 09 20:51:15 2014 +0200 (2014-04-09)
parents 2b9f96603415
children fd7c7b825eb9
line diff
     1.1 --- a/nano/receipt	Sat Aug 10 13:52:56 2013 +0000
     1.2 +++ b/nano/receipt	Wed Apr 09 20:51:15 2014 +0200
     1.3 @@ -19,7 +19,13 @@
     1.4  SUGGESTED="gpm"
     1.5  BUILD_DEPENDS="ncursesw-dev"
     1.6  
     1.7 -export LDFLAGS="-L/usr/cross/arm/lib -L/usr/cross/arm/usr/lib"
     1.8 +# Handle cross compilation
     1.9 +case "$ARCH" in
    1.10 +	arm)
    1.11 +		export LDFLAGS="-L/usr/cross/arm/lib -L/usr/cross/arm/usr/lib" 
    1.12 +		BUILD_DEPENDS="ncurses-dev";;
    1.13 +	i?86) ARCH_ARGS="--enable-utf8" ;;
    1.14 +esac
    1.15  
    1.16  # Rules to configure and make the package.
    1.17  compile_rules()
    1.18 @@ -27,10 +33,8 @@
    1.19  	./configure \
    1.20  		--sysconfdir=/etc \
    1.21  		--localstatedir=/var \
    1.22 -		--enable-utf8 \
    1.23 -		$CONFIGURE_ARGS &&
    1.24 -	make &&
    1.25 -	make install
    1.26 +		$CONFIGURE_ARGS $ARCH_ARGS &&
    1.27 +	make && make install
    1.28  }
    1.29  
    1.30  # Rules to gen a SliTaz package suitable for Tazpkg.