]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - gmp/gmp.nm
Change file layout of the makefiles.
[people/amarx/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 = 5.0.1
8 release = 0
9
10 groups = System/Libraries
11 url = http://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 =
26 sources = %{thisapp}.tar.bz2
27
28 build
29 requires
30 gcc-c++
31 m4
32 end
33
34 build
35 if [ "%{MACHINE}" = "x86_64" ]; then
36 ABI=64
37 else
38 ABI=32
39 fi
40
41 ABI=%{ABI} \
42 ./configure \
43 --prefix=/usr \
44 --enable-cxx \
45 --enable-mpbsd \
46 --disable-static
47
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