mpfr: add 2.3.0
authorKoen Kooi <koen@openembedded.org>
Thu, 22 Nov 2007 15:04:06 +0000 (15:04 +0000)
committerKoen Kooi <koen@openembedded.org>
Thu, 22 Nov 2007 15:04:06 +0000 (15:04 +0000)
packages/mpfr/mpfr-native_2.3.0.bb [new file with mode: 0644]
packages/mpfr/mpfr_2.3.0.bb [new file with mode: 0644]

diff --git a/packages/mpfr/mpfr-native_2.3.0.bb b/packages/mpfr/mpfr-native_2.3.0.bb
new file mode 100644 (file)
index 0000000..01ba37c
--- /dev/null
@@ -0,0 +1,4 @@
+require mpfr_${PV}.bb
+inherit native
+DEPENDS = "gmp-native"
+
diff --git a/packages/mpfr/mpfr_2.3.0.bb b/packages/mpfr/mpfr_2.3.0.bb
new file mode 100644 (file)
index 0000000..2acd7da
--- /dev/null
@@ -0,0 +1,19 @@
+DESCRIPTION = "A C library for multiple-precision floating-point computations with exact rounding"
+LICENSE = "LGPL"
+SECTION = "libs"
+DEPENDS = "gmp"
+PR = "r0"
+
+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
+}