mpfr: add (native)_2.3.0, unify, closes #3339
authorJunqian Gordon Xu <xjqian@gmail.com>
Thu, 22 Nov 2007 02:32:52 +0000 (02:32 +0000)
committerJunqian Gordon Xu <xjqian@gmail.com>
Thu, 22 Nov 2007 02:32:52 +0000 (02:32 +0000)
packages/mpfr/mpfr-native_2.3.0.bb [new file with mode: 0644]
packages/mpfr/mpfr.inc [new file with mode: 0644]
packages/mpfr/mpfr_2.1.1.bb
packages/mpfr/mpfr_2.3.0.bb [new file with mode: 0644]
packages/mpfr/mpfr_cvs.bb

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.inc b/packages/mpfr/mpfr.inc
new file mode 100644 (file)
index 0000000..cf898b6
--- /dev/null
@@ -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
index 10383b1..6127e5d 100644 (file)
@@ -1,14 +1,12 @@
-DESCRIPTION = "A C library for multiple-precision floating-point computations with exact rounding"
-LICENSE = "LGPL"
-SECTION = "libs"
+require mpfr.inc
+
 DEPENDS = "gmp"
-PR = "r2"
+
+PR = "r3"
 
 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} \
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..f9d3b44
--- /dev/null
@@ -0,0 +1,16 @@
+require mpfr.inc
+
+DEPENDS = "gmp"
+
+PR = "r0"
+
+SRC_URI = "http://www.mpfr.org/mpfr-${PV}/mpfr-${PV}.tar.bz2"
+S = "${WORKDIR}/mpfr-${PV}"
+
+do_stage() {
+       oe_runmake install prefix=${STAGING_DIR} \
+              bindir=${STAGING_BINDIR} \
+              includedir=${STAGING_INCDIR} \
+              libdir=${STAGING_LIBDIR} \
+              datadir=${STAGING_DATADIR}
+}
index fcea246..14b7624 100644 (file)
@@ -1,15 +1,13 @@
-DESCRIPTION = "A C library for multiple-precision floating-point computations with exact rounding"
-LICENSE = "LGPL"
-SECTION = "libs"
+require mpfr.inc
+
 DEPENDS = "gmp"
+
 PV = "0.0+cvs${SRCDATE}"
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "cvs://cvs:@cvs-sop.inria.fr/CVS/spaces;module=mpfr;method=pserver"
 S = "${WORKDIR}/mpfr"
 
-inherit autotools
-
 do_stage() {
        oe_runmake install prefix=${STAGING_DIR} \
               bindir=${STAGING_BINDIR} \