summaryrefslogtreecommitdiff
path: root/recipes/libmpc
diff options
context:
space:
mode:
authorDenis 'Gnutoo' Carikli <GNUtoo@no-log.org>2010-01-02 16:00:40 +0100
committerDenis 'Gnutoo' Carikli <GNUtoo@no-log.org>2010-01-02 16:00:40 +0100
commit6690b8fcee9bc9152948b9a623117dd62bcf45de (patch)
tree7b4f0de615dbf0babda5ef09b78d81dde77d89d7 /recipes/libmpc
parent29c63b640c4e4c852cf3084232ef67c8fd9d3214 (diff)
parent6d5a96970227b845b6a33380e3e7af248cca7594 (diff)
Merge branch 'org.openembedded.dev' of git.openembedded.net:openembedded into org.openembedded.dev
Diffstat (limited to 'recipes/libmpc')
-rw-r--r--recipes/libmpc/libmpc-native_0.8.1.bb3
-rw-r--r--recipes/libmpc/libmpc.inc6
-rw-r--r--recipes/libmpc/libmpc_0.8.1.bb10
3 files changed, 19 insertions, 0 deletions
diff --git a/recipes/libmpc/libmpc-native_0.8.1.bb b/recipes/libmpc/libmpc-native_0.8.1.bb
new file mode 100644
index 0000000000..a0837a6fbc
--- /dev/null
+++ b/recipes/libmpc/libmpc-native_0.8.1.bb
@@ -0,0 +1,3 @@
+require libmpc_${PV}.bb
+inherit native
+DEPENDS = "mpfr-native gmp-native"
diff --git a/recipes/libmpc/libmpc.inc b/recipes/libmpc/libmpc.inc
new file mode 100644
index 0000000000..6e18e588be
--- /dev/null
+++ b/recipes/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/recipes/libmpc/libmpc_0.8.1.bb b/recipes/libmpc/libmpc_0.8.1.bb
new file mode 100644
index 0000000000..670db173f4
--- /dev/null
+++ b/recipes/libmpc/libmpc_0.8.1.bb
@@ -0,0 +1,10 @@
+require libmpc.inc
+
+DEPENDS = "gmp mpfr"
+
+SRC_URI = "http://www.multiprecision.org/mpc/download/mpc-${PV}.tar.gz"
+S = "${WORKDIR}/mpc-${PV}"
+
+do_stage() {
+ autotools_stage_all
+}