]> code.ossystems Code Review - openembedded-core.git/commitdiff
libmpc: bring for gcc 4.5.0
authorNitin A Kamble <nitin.a.kamble@intel.com>
Mon, 19 Jul 2010 10:00:37 +0000 (03:00 -0700)
committerRichard Purdie <rpurdie@linux.intel.com>
Sat, 24 Jul 2010 00:38:36 +0000 (01:38 +0100)
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 <nitin.a.kamble@intel.com>
meta/packages/libmpc/libmpc.inc [new file with mode: 0644]
meta/packages/libmpc/libmpc_0.8.2.bb [new file with mode: 0644]

diff --git a/meta/packages/libmpc/libmpc.inc b/meta/packages/libmpc/libmpc.inc
new file mode 100644 (file)
index 0000000..6e18e58
--- /dev/null
@@ -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 (file)
index 0000000..1792066
--- /dev/null
@@ -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"
+