]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blob - gmp/gmp.nm
gmp: Set ABI to 64 for all architectures.
[people/pmueller/ipfire-3.x.git] / gmp / gmp.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = gmp
7 version = 6.2.1
8 release = 1.1
9
10 groups = System/Libraries
11 url = https://gmplib.org/
12 license = LGPLv3+
13 summary = A GNU arbitrary precision library.
14
15 description
16 The gmp package contains GNU MP, a library for arbitrary precision
17 arithmetic, signed integers operations, rational numbers and floating
18 point numbers. GNU MP is designed for speed, for both small and very
19 large operands. GNU MP is fast because it uses fullwords as the basic
20 arithmetic type, it uses fast algorithms, it carefully optimizes
21 assembly code for many CPUs' most common inner loops, and it generally
22 emphasizes speed over simplicity/elegance in its operations.
23 end
24
25 source_dl += https://gmplib.org/download/gmp/ ftp://ftp.gnu.org/gnu/gmp/
26 sources = %{thisapp}.tar.xz
27
28 build
29 requires
30 gcc-c++
31 m4
32 end
33
34 # Set ABI to "64" because we currently only
35 # build for architectures which supports 64 Bits.
36 export ABI = 64
37
38 configure_options += \
39 --enable-cxx \
40 --enable-mpbsd \
41 --disable-static
42
43 test
44 LD_LIBRARY_PATH=%{DIR_APP}/.libs make check
45 end
46 end
47
48 packages
49 package %{name}
50
51 package %{name}-devel
52 template DEVEL
53 end
54
55 package %{name}-debuginfo
56 template DEBUGINFO
57 end
58 end