aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-support/gmp/gmp.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-support/gmp/gmp.inc')
-rw-r--r--recipes-support/gmp/gmp.inc25
1 files changed, 25 insertions, 0 deletions
diff --git a/recipes-support/gmp/gmp.inc b/recipes-support/gmp/gmp.inc
new file mode 100644
index 0000000..bec06ec
--- /dev/null
+++ b/recipes-support/gmp/gmp.inc
@@ -0,0 +1,25 @@
+SECTION = "devel"
+DESCRIPTION = "GNU multiprecision arithmetic library"
+HOMEPAGE = "http://gmplib.org/"
+LICENSE = "GPLv3 LGPLv3"
+
+REVISION = ""
+
+SRC_URI = "ftp://ftp.gmplib.org/pub/gmp-${PV}/gmp-${PV}${REVISION}.tar.bz2 \
+ file://configure.patch \
+ file://amd64.patch "
+
+inherit autotools
+
+ARM_INSTRUCTION_SET = "arm"
+
+acpaths = ""
+
+BBCLASSEXTEND = "native nativesdk"
+
+EXTRA_OECONF += " --enable-cxx=detect"
+
+PACKAGES =+ "libgmpxx"
+FILES_libgmpxx = "${libdir}/libgmpxx${SOLIBS}"
+
+SSTATE_SCAN_FILES += "gmp.h"