diff options
Diffstat (limited to 'meta/recipes-support/gmp/gmp_6.0.0.bb')
-rw-r--r-- | meta/recipes-support/gmp/gmp_6.0.0.bb | 33 |
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 @@ | |||
1 | require gmp.inc | 1 | require gmp.inc |
2 | LICENSE="GPLv2 | LGPLv3" | 2 | |
3 | LICENSE="GPLv2+ | LGPLv3+" | ||
4 | |||
3 | REVISION="a" | 5 | REVISION="a" |
6 | |||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ | 7 | LIC_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 | " | ||
8 | SRC_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 | ||
12 | SRC_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 | " | ||
13 | SRC_URI[md5sum] = "b7ff2d88cae7f8085bd5006096eed470" | 18 | SRC_URI[md5sum] = "b7ff2d88cae7f8085bd5006096eed470" |
14 | SRC_URI[sha256sum] = "7f8e9a804b9c6d07164cf754207be838ece1219425d64e28cfa3e70d5c759aaf" | 19 | SRC_URI[sha256sum] = "7f8e9a804b9c6d07164cf754207be838ece1219425d64e28cfa3e70d5c759aaf" |
20 | |||
21 | acpaths = "" | ||
22 | |||
23 | EXTRA_OECONF += " --enable-cxx=detect" | ||
24 | |||
25 | PACKAGES =+ "libgmpxx" | ||
26 | FILES_libgmpxx = "${libdir}/libgmpxx${SOLIBS}" | ||
27 | |||
28 | do_install_append_class-target() { | ||
29 | sed -i "s|--sysroot=${STAGING_DIR_HOST}||g" ${D}${includedir}/gmp.h | ||
30 | } | ||
31 | |||
32 | SSTATE_SCAN_FILES += "gmp.h" | ||
33 | |||