[oe-commits] Tom Rini : mpfr: Add nativesdk, switch to INC_PR, drop mpfr-native_svn
git version control
git at git.openembedded.org
Tue Aug 17 21:06:01 UTC 2010
Module: openembedded.git
Branch: org.openembedded.dev
Commit: ab825fdc4946cd0f736ef1c3a94e1363cb6300bc
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=ab825fdc4946cd0f736ef1c3a94e1363cb6300bc
Author: Tom Rini <tom_rini at mentor.com>
Date: Tue Aug 17 14:05:29 2010 -0700
mpfr: Add nativesdk, switch to INC_PR, drop mpfr-native_svn
Signed-off-by: Tom Rini <tom_rini at mentor.com>
---
recipes/mpfr/mpfr-native_svn.bb | 3 ---
recipes/mpfr/mpfr.inc | 2 ++
recipes/mpfr/mpfr_3.0.0.bb | 3 +--
recipes/mpfr/mpfr_svn.bb | 3 +--
4 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/recipes/mpfr/mpfr-native_svn.bb b/recipes/mpfr/mpfr-native_svn.bb
deleted file mode 100644
index 51b0f0a..0000000
--- a/recipes/mpfr/mpfr-native_svn.bb
+++ /dev/null
@@ -1,3 +0,0 @@
-require mpfr_svn.bb
-inherit native
-DEPENDS = "gmp-native"
diff --git a/recipes/mpfr/mpfr.inc b/recipes/mpfr/mpfr.inc
index 5f7f94c..f4f745e 100644
--- a/recipes/mpfr/mpfr.inc
+++ b/recipes/mpfr/mpfr.inc
@@ -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
diff --git a/recipes/mpfr/mpfr_3.0.0.bb b/recipes/mpfr/mpfr_3.0.0.bb
index 1abccd6..97f4970 100644
--- a/recipes/mpfr/mpfr_3.0.0.bb
+++ b/recipes/mpfr/mpfr_3.0.0.bb
@@ -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"
diff --git a/recipes/mpfr/mpfr_svn.bb b/recipes/mpfr/mpfr_svn.bb
index 97f2e5f..c1695b4 100644
--- a/recipes/mpfr/mpfr_svn.bb
+++ b/recipes/mpfr/mpfr_svn.bb
@@ -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"
-
More information about the Openembedded-commits
mailing list