wok rev 21481

updated mpc-library (1.0.3 -> 1.1.0)
author Hans-G?nter Theisgen
date Wed May 01 08:44:22 2019 +0100 (2019-05-01)
parents e0b83c7df430
children 1ccc78d4d3b3
files mpc-library/receipt
line diff
     1.1 --- a/mpc-library/receipt	Wed May 01 03:35:22 2019 -0400
     1.2 +++ b/mpc-library/receipt	Wed May 01 08:44:22 2019 +0100
     1.3 @@ -1,33 +1,34 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="mpc-library"
     1.7 -VERSION="1.0.3"
     1.8 +VERSION="1.1.0"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="MPC is a C library for the arithmetic of complex numbers."
    1.11 +SHORT_DESC="A C library for the arithmetic of complex numbers."
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="http://www.multiprecision.org/"
    1.15 +
    1.16  SOURCE="mpc"
    1.17  TARBALL="$SOURCE-$VERSION.tar.gz"
    1.18 -WEB_SITE="http://www.multiprecision.org/"
    1.19 -WGET_URL="http://www.multiprecision.org/mpc/download/$TARBALL"
    1.20 +WGET_URL="$GNU_MIRROR/$SOURCE/$TARBALL"
    1.21 +
    1.22 +DEPENDS="gmp mpfr"
    1.23 +BUILD_DEPENDS="gmp-dev mpfr-dev"
    1.24 +
    1.25  HOST_ARCH="i486 arm"
    1.26  
    1.27 -#BUGS="Shared libs dont build with 0.9"
    1.28 -
    1.29 -DEPENDS="mpfr gmp"
    1.30 -BUILD_DEPENDS="mpfr-dev gmp-dev"
    1.31 -
    1.32  compile_rules()
    1.33  {
    1.34 -	#patch -Np1 -i $stuff/libmpc-0.9-configure_cflags_egrep_issue.patch
    1.35 -	./configure $CONFIGURE_ARGS && make && make install
    1.36 +	./configure $CONFIGURE_ARGS &&
    1.37 +	make &&
    1.38 +	make install
    1.39  }
    1.40  
    1.41  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.42  genpkg_rules()
    1.43  {
    1.44  	mkdir -p $fs/usr
    1.45 -	cp -a $install/usr/lib $fs/usr
    1.46 -	cp -a $install/usr/include $fs/usr
    1.47 +
    1.48 +	cp -a $install/usr/lib		$fs/usr
    1.49 +	cp -a $install/usr/include	$fs/usr
    1.50  }
    1.51 -