summaryrefslogtreecommitdiff
path: root/meta/packages/mpfr
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/mpfr')
-rw-r--r--meta/packages/mpfr/mpfr-native_2.1.1.bb4
-rw-r--r--meta/packages/mpfr/mpfr_2.1.1.bb20
2 files changed, 24 insertions, 0 deletions
diff --git a/meta/packages/mpfr/mpfr-native_2.1.1.bb b/meta/packages/mpfr/mpfr-native_2.1.1.bb
new file mode 100644
index 000000000..119249895
--- /dev/null
+++ b/meta/packages/mpfr/mpfr-native_2.1.1.bb
@@ -0,0 +1,4 @@
+include mpfr_${PV}.bb
+inherit native
+DEPENDS = "gmp-native"
+
diff --git a/meta/packages/mpfr/mpfr_2.1.1.bb b/meta/packages/mpfr/mpfr_2.1.1.bb
new file mode 100644
index 000000000..1bf29fb6b
--- /dev/null
+++ b/meta/packages/mpfr/mpfr_2.1.1.bb
@@ -0,0 +1,20 @@
+DESCRIPTION = "A C library for multiple-precision floating-point computations with exact rounding"
+LICENSE = "LGPL"
+MAINTAINER = "Rene Wagner <rw@handhelds.org>"
+SECTION = "libs"
+DEPENDS = "gmp"
+PR = "r2"
+
+SRC_URI = "http://www.mpfr.org/mpfr-${PV}/mpfr-${PV}.tar.bz2"
+S = "${WORKDIR}/mpfr-${PV}"
+
+inherit autotools
+
+do_stage() {
+ oe_runmake install prefix=${STAGING_DIR} \
+ bindir=${STAGING_BINDIR} \
+ includedir=${STAGING_INCDIR} \
+ libdir=${STAGING_LIBDIR} \
+ datadir=${STAGING_DATADIR} \
+ infodir=${STAGING_DIR}/${HOST_SYS}/info
+}