wok-6.x diff mpfr/receipt @ rev 23909

Up tazinst (1021)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 08 17:52:43 2020 +0000 (2020-08-08)
parents 6e8b1bcb30e2
children 2a0479881723
line diff
     1.1 --- a/mpfr/receipt	Thu Jan 24 11:33:03 2019 +0100
     1.2 +++ b/mpfr/receipt	Sat Aug 08 17:52:43 2020 +0000
     1.3 @@ -1,19 +1,21 @@
     1.4  # SliTaz package receipt
     1.5  
     1.6  PACKAGE="mpfr"
     1.7 -VERSION="3.1.5"
     1.8 +VERSION="4.0.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  LICENSE="GPL3"
    1.13 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14  WEB_SITE="https://www.mpfr.org/"
    1.15 -WGET_URL="https://www.mpfr.org/mpfr-current/$TARBALL"
    1.16 -HOST_ARCH="i486 arm"
    1.17 +
    1.18 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.19 +WGET_URL="${WEB_SITE}$PACKAGE-$VERSION/$TARBALL"
    1.20  
    1.21  DEPENDS="gmp"
    1.22  BUILD_DEPENDS="gmp-dev"
    1.23  
    1.24 +HOST_ARCH="i486 arm"
    1.25 +
    1.26  #--with-gmp-lib=/cross/$ARCH/sysroot/usr/lib
    1.27  #--with-gmp-include=/cross/$ARCH/sysroot/usr/include
    1.28  
    1.29 @@ -22,15 +24,18 @@
    1.30  {
    1.31  	case "$ARCH" in
    1.32  	i?86)
    1.33 -		./configure \
    1.34 -			--enable-thread-safe \
    1.35 +		./configure			\
    1.36 +			--enable-thread-safe	\
    1.37  			$CONFIGURE_ARGS &&
    1.38 -		make && make check && make install ;;
    1.39 +		make &&
    1.40 +		make check &&
    1.41 +		make install ;;
    1.42  	*)
    1.43 -		./configure \
    1.44 -			--enable-thread-safe \
    1.45 +		./configure			\
    1.46 +			--enable-thread-safe	\
    1.47  			$CONFIGURE_ARGS &&
    1.48 -		make && make install ;;
    1.49 +		make &&
    1.50 +		make install ;;
    1.51  	esac
    1.52  }
    1.53