summaryrefslogtreecommitdiff
path: root/openembedded/packages/mpfr
diff options
context:
space:
mode:
Diffstat (limited to 'openembedded/packages/mpfr')
-rw-r--r--openembedded/packages/mpfr/mpfr-native_2.1.1.bb4
-rw-r--r--openembedded/packages/mpfr/mpfr_2.1.1.bb19
2 files changed, 23 insertions, 0 deletions
diff --git a/openembedded/packages/mpfr/mpfr-native_2.1.1.bb b/openembedded/packages/mpfr/mpfr-native_2.1.1.bb
new file mode 100644
index 0000000000..119249895d
--- /dev/null
+++ b/openembedded/packages/mpfr/mpfr-native_2.1.1.bb
@@ -0,0 +1,4 @@
+include mpfr_${PV}.bb
+inherit native
+DEPENDS = "gmp-native"
+
diff --git a/openembedded/packages/mpfr/mpfr_2.1.1.bb b/openembedded/packages/mpfr/mpfr_2.1.1.bb
new file mode 100644
index 0000000000..8b739c0803
--- /dev/null
+++ b/openembedded/packages/mpfr/mpfr_2.1.1.bb
@@ -0,0 +1,19 @@
+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 = "r1"
+
+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}
+}