]> git.ipfire.org Git - ipfire-3.x.git/blob - libmpc/libmpc.nm
libmpc: Update to 1.1.0
[ipfire-3.x.git] / libmpc / libmpc.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = libmpc
7 version = 1.1.0
8 release = 1
9 thisapp = mpc-%{version}
10
11 groups = System/Libraries
12 url = http://www.multiprecision.org/
13 license = LGPLv2.1+
14 summary = Mpc is a C library for the arithmetic of complex numbers.
15
16 description
17 Mpc is a C library for the arithmetic of complex numbers with
18 arbitrarily high precision and correct rounding of the result.
19 It is built upon and follows the same principles as Mpfr.
20 end
21
22 source_dl = https://ftp.gnu.org/gnu/mpc/
23
24 build
25 requires
26 gmp-devel >= 5.0.0
27 mpfr-devel >= 3.0.0
28 end
29
30 configure_options += \
31 --enable-shared \
32 --disable-static
33
34 test
35 export LD_LIBRARY_PATH=$(pwd)/src/.libs
36 make check
37 end
38 end
39
40 packages
41 package %{name}
42
43 package %{name}-devel
44 template DEVEL
45 end
46
47 package %{name}-debuginfo
48 template DEBUGINFO
49 end
50 end