summaryrefslogtreecommitdiff
path: root/meta/packages
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages')
-rw-r--r--meta/packages/mpfr/mpfr-native_2.3.1.bb (renamed from meta/packages/mpfr/mpfr-native_2.1.1.bb)0
-rw-r--r--meta/packages/mpfr/mpfr.inc6
-rw-r--r--meta/packages/mpfr/mpfr_2.1.1.bb19
-rw-r--r--meta/packages/mpfr/mpfr_2.3.1.bb11
4 files changed, 17 insertions, 19 deletions
diff --git a/meta/packages/mpfr/mpfr-native_2.1.1.bb b/meta/packages/mpfr/mpfr-native_2.3.1.bb
index 01ba37c8bf..01ba37c8bf 100644
--- a/meta/packages/mpfr/mpfr-native_2.1.1.bb
+++ b/meta/packages/mpfr/mpfr-native_2.3.1.bb
diff --git a/meta/packages/mpfr/mpfr.inc b/meta/packages/mpfr/mpfr.inc
new file mode 100644
index 0000000000..cf898b62b6
--- /dev/null
+++ b/meta/packages/mpfr/mpfr.inc
@@ -0,0 +1,6 @@
+DESCRIPTION = "A C library for multiple-precision floating-point computations with exact rounding"
+HOMEPAGE = "http://www.mpfr.org/"
+LICENSE = "LGPL"
+SECTION = "libs"
+
+inherit autotools
diff --git a/meta/packages/mpfr/mpfr_2.1.1.bb b/meta/packages/mpfr/mpfr_2.1.1.bb
deleted file mode 100644
index e0d1e9dbb3..0000000000
--- a/meta/packages/mpfr/mpfr_2.1.1.bb
+++ /dev/null
@@ -1,19 +0,0 @@
-DESCRIPTION = "A C library for multiple-precision floating-point computations with exact rounding"
-LICENSE = "LGPL"
-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_HOST}${layout_prefix} \
- bindir=${STAGING_BINDIR} \
- includedir=${STAGING_INCDIR} \
- libdir=${STAGING_LIBDIR} \
- datadir=${STAGING_DATADIR} \
- infodir=${STAGING_DIR_HOST}${layout_infodir}
-}
diff --git a/meta/packages/mpfr/mpfr_2.3.1.bb b/meta/packages/mpfr/mpfr_2.3.1.bb
new file mode 100644
index 0000000000..869c4227e2
--- /dev/null
+++ b/meta/packages/mpfr/mpfr_2.3.1.bb
@@ -0,0 +1,11 @@
+require mpfr.inc
+
+DEPENDS = "gmp"
+PR = "r1"
+
+SRC_URI = "http://www.mpfr.org/mpfr-${PV}/mpfr-${PV}.tar.bz2"
+S = "${WORKDIR}/mpfr-${PV}"
+
+do_stage() {
+ autotools_stage_all
+}