Info2: << Package: libmpc3%type_pkg[-64bit] Version: 1.0.3 Revision: 1 Type: -64bit (boolean) Architecture: ( %type_raw[-64bit] = -64bit ) powerpc, ( %type_raw[-64bit] = -64bit ) i386 Maintainer: David Fang Source: http://www.multiprecision.org/mpc/download/mpc-%v.tar.gz Source-MD5: d6a1d5f8ddea3abd2cc3e98f58352d26 License: LGPL Homepage: http://www.multiprecision.org/ Description: %type_pkg[-64bit] Multi-precision complex lib DescDetail: << MPC is a C library for the arithmetic of complex numbers with arbitrarily high precision and correct rounding of the result. It is built upon and follows the same principles as MPFR. . The library is written by Andreas Enge, Philippe Th\'{e}veny and Paul Zimmermann and is distributed under the Gnu Lesser General Public License, either version 2.1 of the licence, or (at your option) any later version. The Mpc library has been registered in France by the Agence pour la Protection des Programmes on 2003-02-05 under the number IDDN FR 001 060029 000 R P 2003 000 10000. << # DescPort: DescPackaging: << Versions 0.8.x build against gmp 4.3.x and libmpfr1 2.4.x Versions 0.9.x build against gmp5 5.0.x and libmpfr4 3.0.x, but still work with gmp 4.3.x and libmpfr1 2.4.x gmp-5.0.5-3 contains patch for powerpc asm that fixes tpow_fr Prevent configure script from confusing 10.10 (Yosemite) with 10.1 (Puma). << BuildDepends: gmp5%type_pkg[-64bit] (>= 6.0.0a-3), libmpfr4%type_pkg[-64bit] (>= 3.1.2-2) Depends: %N-shlibs (= %v-%r), ( %type_raw[-64bit] = -64bit ) 64bit-cpu BuildDependsOnly: true Conflicts: libmpc2, libmpc2-64bit, libmpc3, libmpc3-64bit Replaces: libmpc2, libmpc2-64bit, libmpc3, libmpc3-64bit PatchScript: << #!/bin/sh -ev sed -i.orig -e '/This manual documents/s|manual|file|' \ -e '/(mpc)Multiple/s|Multiple|. &|' doc/mpc.info # suppress warnings that -no-install ignored in favor of -no-fast-install perl -pi -e 's|AM_LDFLAGS = -no-install|AM_LDFLAGS = -no-fast-install|' tests/Makefile.in << ConfigureParams: << --infodir=%p/share/info \ --with-gmp=%p \ --with-mpfr=%p \ -C << UseMaxBuildJobs: true CompileScript: << #! /bin/sh -ev mkdir build cd build if [ "%type_raw[-64bit]" != "." ]; then export CC="gcc -m64" fi ../configure %c --libdir='${prefix}/%lib' make << InfoTest: << TestScript: << #!/bin/sh -ev cd build make -k check || exit 2 << TestSuiteSize: small << InstallScript: << #/bin/sh -ev cd build && make DESTDIR=%d install << DocFiles: COPYING.LESSER AUTHORS NEWS README TODO ChangeLog InfoDocs: mpc.info SplitOff: << Package: %N-shlibs Depends: gmp5%type_pkg[-64bit]-shlibs (>= 6.0.0a-3), libmpfr4%type_pkg[-64bit]-shlibs (>= 3.1.2-2), ( %type_raw[-64bit] = -64bit ) 64bit-cpu Files: %lib/libmpc.*.dylib Shlibs: %p/%lib/libmpc.3.dylib 4.0.0 %n (>= 1.0-1) %type_num[-64bit] DocFiles: COPYING.LESSER << <<