summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/gmp/gmp_6.0.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/gmp/gmp_6.0.0.bb')
-rw-r--r--meta/recipes-support/gmp/gmp_6.0.0.bb33
1 files changed, 26 insertions, 7 deletions
diff --git a/meta/recipes-support/gmp/gmp_6.0.0.bb b/meta/recipes-support/gmp/gmp_6.0.0.bb
index 6218491142..19b63e5683 100644
--- a/meta/recipes-support/gmp/gmp_6.0.0.bb
+++ b/meta/recipes-support/gmp/gmp_6.0.0.bb
@@ -1,14 +1,33 @@
1require gmp.inc 1require gmp.inc
2LICENSE="GPLv2 | LGPLv3" 2
3LICENSE="GPLv2+ | LGPLv3+"
4
3REVISION="a" 5REVISION="a"
6
4LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ 7LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
5 file://COPYING.LESSERv3;md5=6a6a8e020838b23406c81b19c1d46df6 \ 8 file://COPYING.LESSERv3;md5=6a6a8e020838b23406c81b19c1d46df6 \
6 file://COPYINGv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ 9 file://COPYINGv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
7"
8SRC_URI_append = " file://use-includedir.patch \
9 file://append_user_provided_flags.patch \
10 file://gmp-6.0.0-ppc64.patch \
11" 10"
12 11
12SRC_URI += "file://configure.patch \
13 file://amd64.patch \
14 file://use-includedir.patch \
15 file://append_user_provided_flags.patch \
16 file://gmp-6.0.0-ppc64.patch \
17 "
13SRC_URI[md5sum] = "b7ff2d88cae7f8085bd5006096eed470" 18SRC_URI[md5sum] = "b7ff2d88cae7f8085bd5006096eed470"
14SRC_URI[sha256sum] = "7f8e9a804b9c6d07164cf754207be838ece1219425d64e28cfa3e70d5c759aaf" 19SRC_URI[sha256sum] = "7f8e9a804b9c6d07164cf754207be838ece1219425d64e28cfa3e70d5c759aaf"
20
21acpaths = ""
22
23EXTRA_OECONF += " --enable-cxx=detect"
24
25PACKAGES =+ "libgmpxx"
26FILES_libgmpxx = "${libdir}/libgmpxx${SOLIBS}"
27
28do_install_append_class-target() {
29 sed -i "s|--sysroot=${STAGING_DIR_HOST}||g" ${D}${includedir}/gmp.h
30}
31
32SSTATE_SCAN_FILES += "gmp.h"
33