summaryrefslogtreecommitdiff
path: root/meta/packages
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages')
-rw-r--r--meta/packages/libmpc/libmpc.inc6
-rw-r--r--meta/packages/libmpc/libmpc_0.8.2.bb14
2 files changed, 20 insertions, 0 deletions
diff --git a/meta/packages/libmpc/libmpc.inc b/meta/packages/libmpc/libmpc.inc
new file mode 100644
index 000000000..6e18e588b
--- /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 000000000..1792066e7
--- /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"
+