2024-09-09 08:52:07 +00:00
|
|
|
SECTION = "devel"
|
2024-09-09 08:57:42 +00:00
|
|
|
SUMMARY = "GNU multiprecision arithmetic library"
|
|
|
|
DESCRIPTION = "GMP is a free library for arbitrary precision arithmetic, operating on signed integers, rational numbers, and floating point numbers"
|
|
|
|
HOMEPAGE = "http://gmplib.org/"
|
2024-09-09 08:52:07 +00:00
|
|
|
LICENSE = "GPLv3 LGPLv3"
|
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
REVISION ?= ""
|
|
|
|
|
|
|
|
SRC_URI = "https://gmplib.org/download/${BPN}/${BP}${REVISION}.tar.bz2 \
|
2024-09-09 08:52:07 +00:00
|
|
|
file://configure.patch \
|
|
|
|
file://amd64.patch "
|
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
inherit autotools texinfo
|
2024-09-09 08:52:07 +00:00
|
|
|
|
|
|
|
ARM_INSTRUCTION_SET = "arm"
|
|
|
|
|
|
|
|
acpaths = ""
|
|
|
|
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
PACKAGECONFIG ??= ""
|
|
|
|
PACKAGECONFIG[readline] = "--with-readline=yes,--with-readline=no,readline"
|
|
|
|
|
2024-09-09 08:52:07 +00:00
|
|
|
EXTRA_OECONF += " --enable-cxx=detect"
|
|
|
|
|
|
|
|
PACKAGES =+ "libgmpxx"
|
|
|
|
FILES_libgmpxx = "${libdir}/libgmpxx${SOLIBS}"
|
|
|
|
|
|
|
|
SSTATE_SCAN_FILES += "gmp.h"
|