1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
9 thisapp = mpc-%{version}
13 groups = System/Libraries
14 url = http://www.multiprecision.org/
16 summary = Mpc is a C library for the arithmetic of complex numbers.
19 Mpc is a C library for the arithmetic of complex numbers with
20 arbitrarily high precision and correct rounding of the result.
21 It is built upon and follows the same principles as Mpfr.
24 source_dl = http://www.multiprecision.org/mpc/download/
25 sources += mpc-%{compat_version}.tar.gz
33 configure_options += \
38 cd %{DIR_SRC}/mpc-%{compat_version}
39 EGREP=egrep ./configure \
42 make %{PARALLELISMFLAGS}
46 export LD_LIBRARY_PATH=$(pwd)/src/.libs
49 cd %{DIR_SRC}/mpc-%{compat_version}
50 export LD_LIBRARY_PATH=$(pwd)/src/.libs
55 cd %{DIR_SRC}/mpc-%{compat_version}
56 install -m 644 src/.libs/libmpc.so.2.0.0 %{BUILDROOT}%{libdir}
57 ln -svf libmpc.so.2.0.0 %{BUILDROOT}%{libdir}/libmpc.so.2
68 package %{name}-compat
69 summary = Compat libraries of %{thisapp}.
72 %{libdir}/libmpc.so.2*
76 package %{name}-debuginfo