wok-current diff mpfr/receipt @ rev 16340

ARM: fix scratch cross compilation
author Christophe Lincoln <pankso@slitaz.org>
date Sat Apr 12 14:40:51 2014 +0200 (2014-04-12)
parents 2b9f96603415
children 63c5da92bdb1
line diff
     1.1 --- a/mpfr/receipt	Sat Aug 10 13:52:56 2013 +0000
     1.2 +++ b/mpfr/receipt	Sat Apr 12 14:40:51 2014 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt
     1.5  
     1.6  PACKAGE="mpfr"
     1.7 -VERSION="3.1.0"
     1.8 +VERSION="3.1.2"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="C library for multiple-precision floating-point computations."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 @@ -9,16 +9,19 @@
    1.13  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14  WEB_SITE="http://www.mpfr.org/"
    1.15  WGET_URL="http://www.mpfr.org/mpfr-current/$TARBALL"
    1.16 +HOST_ARCH="i486 arm"
    1.17  
    1.18  DEPENDS="gmp"
    1.19  BUILD_DEPENDS="gmp-dev"
    1.20  
    1.21 +#--with-gmp-lib=/cross/$ARCH/sysroot/usr/lib
    1.22 +#--with-gmp-include=/cross/$ARCH/sysroot/usr/include
    1.23 +
    1.24  # Rules to configure and make the package.
    1.25  compile_rules()
    1.26 -{	
    1.27 -	cd $src
    1.28 -	patch -Np1 -i $stuff/$PACKAGE-$VERSION.patch 
    1.29 -	./configure $CONFIGURE_ARGS &&
    1.30 +{
    1.31 +	./configure \
    1.32 +		$CONFIGURE_ARGS &&
    1.33  	make && make install
    1.34  }
    1.35