From 722e27e44806558b2ef3e6b7072451981fa5823e Mon Sep 17 00:00:00 2001 From: Nitin A Kamble Date: Mon, 19 Jul 2010 03:00:37 -0700 Subject: libmpc: bring for gcc 4.5.0 Import the recipe from OE Upgrade from 0.8.1 to 0.8.2, and it solved the build failure Cleaned up the libmpc-native recipe for poky tree Add nativesdk target for gcc-cross-canadian_4.5.0 Signed-off-by: Nitin A Kamble --- meta/packages/libmpc/libmpc.inc | 6 ++++++ meta/packages/libmpc/libmpc_0.8.2.bb | 14 ++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 meta/packages/libmpc/libmpc.inc create mode 100644 meta/packages/libmpc/libmpc_0.8.2.bb diff --git a/meta/packages/libmpc/libmpc.inc b/meta/packages/libmpc/libmpc.inc new file mode 100644 index 0000000000..6e18e588be --- /dev/null +++ b/meta/packages/libmpc/libmpc.inc @@ -0,0 +1,6 @@ +DESCRIPTION = "Mpc is a C library for the arithmetic of complex numbers with arbitrarily high precision and correct rounding of the result. It is built upon and follows the same principles as Mpfr" +HOMEPAGE = "http://www.multiprecision.org/" +LICENSE = "LGPLv2" +SECTION = "libs" + +inherit autotools diff --git a/meta/packages/libmpc/libmpc_0.8.2.bb b/meta/packages/libmpc/libmpc_0.8.2.bb new file mode 100644 index 0000000000..1792066e77 --- /dev/null +++ b/meta/packages/libmpc/libmpc_0.8.2.bb @@ -0,0 +1,14 @@ +require libmpc.inc + +DEPENDS = "gmp mpfr" + +PR = "r0" + +SRC_URI = "http://www.multiprecision.org/mpc/download/mpc-${PV}.tar.gz" +S = "${WORKDIR}/mpc-${PV}" + +SRC_URI[md5sum] = "5b34aa804d514cc295414a963aedb6bf" +SRC_URI[sha256sum] = "e664603757251fd8a352848276497a4c79b7f8b21fd8aedd5cc0598a38fee3e4" + +BBCLASSEXTEND = "native nativesdk" + -- cgit v1.2.3