summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/gmp/gmp_6.1.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/gmp/gmp_6.1.0.bb')
-rw-r--r--meta/recipes-support/gmp/gmp_6.1.0.bb30
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-support/gmp/gmp_6.1.0.bb b/meta/recipes-support/gmp/gmp_6.1.0.bb
new file mode 100644
index 0000000000..b26b4d510a
--- /dev/null
+++ b/meta/recipes-support/gmp/gmp_6.1.0.bb
@@ -0,0 +1,30 @@
1require gmp.inc
2
3LICENSE="GPLv2+ | LGPLv3+"
4
5LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
6 file://COPYING.LESSERv3;md5=6a6a8e020838b23406c81b19c1d46df6 \
7 file://COPYINGv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
8"
9
10SRC_URI = "https://gmplib.org/download/${BPN}/${BP}${REVISION}.tar.bz2 \
11 file://amd64.patch \
12 file://use-includedir.patch \
13 file://0001-Append-the-user-provided-flags-to-the-auto-detected-.patch \
14 "
15SRC_URI[md5sum] = "86ee6e54ebfc4a90b643a65e402c4048"
16SRC_URI[sha256sum] = "498449a994efeba527885c10405993427995d3f86b8768d8cdf8d9dd7c6b73e8"
17
18acpaths = ""
19
20EXTRA_OECONF += " --enable-cxx=detect"
21
22PACKAGES =+ "libgmpxx"
23FILES_libgmpxx = "${libdir}/libgmpxx${SOLIBS}"
24
25do_install_append_class-target() {
26 sed -i "s|--sysroot=${STAGING_DIR_HOST}||g" ${D}${includedir}/gmp.h
27}
28
29SSTATE_SCAN_FILES += "gmp.h"
30