summaryrefslogtreecommitdiff
path: root/recipes/libmpc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2009-12-30 16:18:13 -0800
committerKhem Raj <raj.khem@gmail.com>2009-12-30 16:25:14 -0800
commit83d170ac1bb77ff838abd2604a65f450b1ab9750 (patch)
tree3e91c927b20097dc98955dfa9060fb239f668c65 /recipes/libmpc
parenta45b6d5b0320797ef108bf62033b63b323c06e00 (diff)
libmpc: Rename newly added mpc to libmpc.
* there already exists a recipe called mpc so call this one as libmpc to avoid DEPENDS collision. Signed-off-by: Khem Raj <raj.khem@gmail.com>
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..8dba0b7fc4
--- /dev/null
+++ b/recipes/libmpc/libmpc-native_0.8.1.bb
@@ -0,0 +1,3 @@
+require mpc_${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..b62c08673e
--- /dev/null
+++ b/recipes/libmpc/libmpc_0.8.1.bb
@@ -0,0 +1,10 @@
+require mpc.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
+}