diff options
Diffstat (limited to 'meta/recipes-support/gmp/gmp.inc')
-rw-r--r-- | meta/recipes-support/gmp/gmp.inc | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/meta/recipes-support/gmp/gmp.inc b/meta/recipes-support/gmp/gmp.inc index 65cde21a7d..6752a39d13 100644 --- a/meta/recipes-support/gmp/gmp.inc +++ b/meta/recipes-support/gmp/gmp.inc | |||
@@ -2,32 +2,15 @@ SECTION = "devel" | |||
2 | SUMMARY = "GNU multiprecision arithmetic library" | 2 | SUMMARY = "GNU multiprecision arithmetic library" |
3 | DESCRIPTION = "GMP is a free library for arbitrary precision arithmetic, operating on signed integers, rational numbers, and floating point numbers" | 3 | DESCRIPTION = "GMP is a free library for arbitrary precision arithmetic, operating on signed integers, rational numbers, and floating point numbers" |
4 | HOMEPAGE = "http://gmplib.org/" | 4 | HOMEPAGE = "http://gmplib.org/" |
5 | LICENSE = "GPLv3 LGPLv3" | ||
6 | 5 | ||
7 | REVISION ?= "" | 6 | REVISION ?= "" |
8 | 7 | SRC_URI = "https://gmplib.org/download/${BPN}/${BP}${REVISION}.tar.bz2" | |
9 | SRC_URI = "https://gmplib.org/download/${BPN}/${BP}${REVISION}.tar.bz2 \ | ||
10 | file://configure.patch \ | ||
11 | file://amd64.patch " | ||
12 | 8 | ||
13 | inherit autotools texinfo | 9 | inherit autotools texinfo |
14 | 10 | ||
15 | ARM_INSTRUCTION_SET = "arm" | 11 | ARM_INSTRUCTION_SET = "arm" |
16 | 12 | ||
17 | acpaths = "" | ||
18 | |||
19 | BBCLASSEXTEND = "native nativesdk" | 13 | BBCLASSEXTEND = "native nativesdk" |
20 | 14 | ||
21 | PACKAGECONFIG ??= "" | 15 | PACKAGECONFIG ??= "" |
22 | PACKAGECONFIG[readline] = "--with-readline=yes,--with-readline=no,readline" | 16 | PACKAGECONFIG[readline] = "--with-readline=yes,--with-readline=no,readline" |
23 | |||
24 | EXTRA_OECONF += " --enable-cxx=detect" | ||
25 | |||
26 | PACKAGES =+ "libgmpxx" | ||
27 | FILES_libgmpxx = "${libdir}/libgmpxx${SOLIBS}" | ||
28 | |||
29 | do_install_append_class-target() { | ||
30 | sed -i "s|--sysroot=${STAGING_DIR_HOST}||g" ${D}${includedir}/gmp.h | ||
31 | } | ||
32 | |||
33 | SSTATE_SCAN_FILES += "gmp.h" | ||