mpfr: Add nativesdk, switch to INC_PR, drop mpfr-native_svn
authorTom Rini <tom_rini@mentor.com>
Tue, 17 Aug 2010 21:05:29 +0000 (14:05 -0700)
committerTom Rini <tom_rini@mentor.com>
Tue, 17 Aug 2010 21:05:29 +0000 (14:05 -0700)
Signed-off-by: Tom Rini <tom_rini@mentor.com>
recipes/mpfr/mpfr-native_svn.bb [deleted file]
recipes/mpfr/mpfr.inc
recipes/mpfr/mpfr_3.0.0.bb
recipes/mpfr/mpfr_svn.bb

diff --git a/recipes/mpfr/mpfr-native_svn.bb b/recipes/mpfr/mpfr-native_svn.bb
deleted file mode 100644 (file)
index 51b0f0a..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-require mpfr_svn.bb
-inherit native
-DEPENDS = "gmp-native"
index 5f7f94c..f4f745e 100644 (file)
@@ -2,5 +2,7 @@ DESCRIPTION = "A C library for multiple-precision floating-point computations wi
 HOMEPAGE = "http://www.mpfr.org/"
 LICENSE = "GPL LGPL"
 SECTION = "libs"
+BBCLASSEXTEND = "native nativesdk"
+PR = "r3"
 
 inherit autotools
index 1abccd6..97f4970 100644 (file)
@@ -3,8 +3,7 @@ require mpfr.inc
 DEPENDS = "gmp"
 S = "${WORKDIR}/mpfr-${PV}"
 NATIVE_INSTALL_WORKS = "1"
-PR = "r2"
-BBCLASSEXTEND = "native"
+PR = "${INC_PR}.0"
 
 SRC_URI = "http://www.mpfr.org/mpfr-${PV}/mpfr-${PV}.tar.bz2 \
            file://p3.patch"
index 97f2e5f..c1695b4 100644 (file)
@@ -2,8 +2,7 @@ require mpfr.inc
 
 DEPENDS = "gmp"
 PV = "0.0+svn${SRCDATE}"
-PR = "r3"
+PR = "${INC_PR}.0"
 
 SRC_URI = "svn://scm.gforge.inria.fr/svn/mpfr;module=trunk"
 S = "${WORKDIR}/trunk"
-