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 <nitin.a.kamble@intel.com>
This commit is contained in:
Nitin A Kamble 2010-07-19 03:00:37 -07:00 committed by Richard Purdie
parent 4f19548bfb
commit 722e27e448
2 changed files with 20 additions and 0 deletions

View File

@ -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

View File

@ -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"