]>
Commit | Line | Data |
---|---|---|
58608bd4 | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
58608bd4 MT |
4 | ############################################################################### |
5 | ||
802ea3af MT |
6 | name = gmp |
7 | version = 5.0.1 | |
8 | release = 0 | |
58608bd4 | 9 | |
802ea3af MT |
10 | groups = System/Libraries |
11 | url = http://gmplib.org/ | |
12 | license = LGPLv3+ | |
13 | summary = A GNU arbitrary precision library. | |
58608bd4 | 14 | |
802ea3af | 15 | description |
58608bd4 MT |
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. | |
802ea3af | 23 | end |
58608bd4 | 24 | |
802ea3af MT |
25 | source_dl = |
26 | sources = %{thisapp}.tar.bz2 | |
64dc7375 | 27 | |
802ea3af MT |
28 | build |
29 | requires | |
30 | gcc-c++ | |
31 | m4 | |
32 | end | |
64dc7375 | 33 | |
802ea3af MT |
34 | build |
35 | if [ "%{MACHINE}" = "x86_64" ]; then | |
36 | ABI=64 | |
37 | else | |
38 | ABI=32 | |
39 | fi | |
58608bd4 | 40 | |
802ea3af | 41 | ABI=%{ABI} \ |
58608bd4 | 42 | ./configure \ |
58608bd4 MT |
43 | --prefix=/usr \ |
44 | --enable-cxx \ | |
45 | --enable-mpbsd \ | |
46 | --disable-static | |
47 | ||
802ea3af MT |
48 | make %{PARALLELISMFLAGS} |
49 | end | |
50 | ||
51 | test | |
52 | make check | |
53 | end | |
54 | end | |
55 | ||
56 | packages | |
57 | package %{name} | |
58 | end | |
59 | ||
60 | package %{name}-devel | |
61 | template DEVEL | |
62 | end | |
63 | end |