summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/gmp/gmp.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/gmp/gmp.inc')
-rw-r--r--meta/recipes-support/gmp/gmp.inc29
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-support/gmp/gmp.inc b/meta/recipes-support/gmp/gmp.inc
new file mode 100644
index 0000000000..6aedc85f58
--- /dev/null
+++ b/meta/recipes-support/gmp/gmp.inc
@@ -0,0 +1,29 @@
1SECTION = "devel"
2SUMMARY = "GNU multiprecision arithmetic library"
3DESCRIPTION = "GMP is a free library for arbitrary precision arithmetic, operating on signed integers, rational numbers, and floating point numbers"
4HOMEPAGE = "http://gmplib.org/"
5LICENSE = "GPLv3 LGPLv3"
6
7REVISION = ""
8
9SRC_URI = "ftp://ftp.gmplib.org/pub/gmp-${PV}/gmp-${PV}${REVISION}.tar.bz2 \
10 file://configure.patch \
11 file://amd64.patch "
12
13inherit autotools texinfo
14
15ARM_INSTRUCTION_SET = "arm"
16
17acpaths = ""
18
19BBCLASSEXTEND = "native nativesdk"
20
21PACKAGECONFIG ??= ""
22PACKAGECONFIG[readline] = "--with-readline=yes,--with-readline=no,readline"
23
24EXTRA_OECONF += " --enable-cxx=detect"
25
26PACKAGES =+ "libgmpxx"
27FILES_libgmpxx = "${libdir}/libgmpxx${SOLIBS}"
28
29SSTATE_SCAN_FILES += "gmp.h"