1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
10 compat_version = 2.4.2
12 groups = System/Libraries
13 url = http://www.mpfr.org/
14 license = LGPLv2+ and GPLv2+ and GFDL
15 summary = A C library for multiple-precision floating-point computations.
18 The MPFR library is a C library for multiple-precision floating-point
19 computations with correct rounding. The MPFR is efficient and
20 also has a well-defined semantics. It copies the good ideas from the
21 ANSI/IEEE-754 standard for double-precision floating-point arithmetic
22 (53-bit mantissa). MPFR is based on the GMP multiple-precision
26 source_dl = http://mpfr.loria.fr/mpfr-%{version}/
27 sources += %{name}-%{compat_version}.tar.bz2
34 configure_options += \
35 --enable-thread-safe \
40 cd %{DIR_SRC}/%{name}-%{compat_version}
44 export LD_LIBRARY_PATH=$(pwd)/.libs
45 make %{PARALLELISMFLAGS}
49 export LD_LIBRARY_PATH=$(pwd)/.libs
52 cd %{DIR_SRC}/%{name}-%{compat_version}
53 export LD_LIBRARY_PATH=$(pwd)/.libs
58 cd %{DIR_SRC}/%{name}-%{compat_version}
59 install -m 644 .libs/libmpfr.so.1.2.2 %{BUILDROOT}/usr/lib/
60 ln -svf libmpfr.so.1.2.2 %{BUILDROOT}/usr/lib/libmpfr.so.1
71 package %{name}-compat
72 summary = Compat libraries of %{thisapp}.
75 /usr/lib/libmpfr.so.1*
79 package %{name}-debuginfo