diff options
author | Khem Raj <raj.khem@gmail.com> | 2009-12-14 14:56:39 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2009-12-14 15:00:54 -0800 |
commit | 2aeb4263cfdb4c9ee07c3f9ddcf6f30a93d77944 (patch) | |
tree | 218ce00e6457525ecffac3eaf5b69c1a017aefe1 /recipes | |
parent | 67572c35f69f1233ba480887e72925e3d7f2c7f3 (diff) |
mpc: New recipe for mpc.
* mpc will be pre-requisite for gcc 4.5
currently gcc svn recipes need it.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes')
-rw-r--r-- | recipes/mpc/mpc-native_0.8.1.bb | 3 | ||||
-rw-r--r-- | recipes/mpc/mpc.inc | 6 | ||||
-rw-r--r-- | recipes/mpc/mpc_0.8.1.bb | 10 |
3 files changed, 19 insertions, 0 deletions
diff --git a/recipes/mpc/mpc-native_0.8.1.bb b/recipes/mpc/mpc-native_0.8.1.bb new file mode 100644 index 0000000000..8dba0b7fc4 --- /dev/null +++ b/recipes/mpc/mpc-native_0.8.1.bb @@ -0,0 +1,3 @@ +require mpc_${PV}.bb +inherit native +DEPENDS = "mpfr-native gmp-native" diff --git a/recipes/mpc/mpc.inc b/recipes/mpc/mpc.inc new file mode 100644 index 0000000000..6e18e588be --- /dev/null +++ b/recipes/mpc/mpc.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/mpc/mpc_0.8.1.bb b/recipes/mpc/mpc_0.8.1.bb new file mode 100644 index 0000000000..b62c08673e --- /dev/null +++ b/recipes/mpc/mpc_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 +} |