[oe-commits] Roman I Khimov : perl 5.10.1: PROVIDES libmodule-build-perl

git version control git at git.openembedded.org
Thu Sep 23 05:51:43 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 67ab615dac83b0460fa1b88dfb11c72d7c93e259
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=67ab615dac83b0460fa1b88dfb11c72d7c93e259

Author: Roman I Khimov <khimov at altell.ru>
Date:   Tue Aug 10 18:20:50 2010 +0400

perl 5.10.1: PROVIDES libmodule-build-perl

perl 5.10.1 has Module::Build built-in and it's newer than what we have in
libmodule-build-perl-native.

Signed-off-by: Roman I Khimov <khimov at altell.ru>

---

 recipes/perl/perl-native_5.10.1.bb     |    6 +++++-
 recipes/perl/perl-rprovides_5.10.1.inc |    1 +
 recipes/perl/perl_5.10.1.bb            |    6 +++++-
 3 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/recipes/perl/perl-native_5.10.1.bb b/recipes/perl/perl-native_5.10.1.bb
index 0e0854b..b6e0bb5 100644
--- a/recipes/perl/perl-native_5.10.1.bb
+++ b/recipes/perl/perl-native_5.10.1.bb
@@ -3,12 +3,16 @@ HOMEPAGE = "http://www.perl.org/"
 SECTION = "libs"
 LICENSE = "Artistic|GPL"
 DEPENDS = "virtual/db-native gdbm-native"
-PR = "r4"
+PR = "r5"
 NATIVE_INSTALL_WORKS = "1"
 
 # Not tested enough
 DEFAULT_PREFERENCE = "-1"
 
+# 5.10.1 has this module built-in
+PROVIDES += "libmodule-build-perl-native"
+RPROVIDES_${PN} += "libmodule-build-perl-native"
+
 FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/perl-${PV}"
 
 SRC_URI = "http://ftp.funet.fi/pub/CPAN/src/perl-${PV}.tar.gz;name=perl-${PV} \
diff --git a/recipes/perl/perl-rprovides_5.10.1.inc b/recipes/perl/perl-rprovides_5.10.1.inc
new file mode 100644
index 0000000..9a648db
--- /dev/null
+++ b/recipes/perl/perl-rprovides_5.10.1.inc
@@ -0,0 +1 @@
+RPROVIDES_perl-module-module-build += "libmodule-build-perl"
diff --git a/recipes/perl/perl_5.10.1.bb b/recipes/perl/perl_5.10.1.bb
index 50db492..8a0726a 100644
--- a/recipes/perl/perl_5.10.1.bb
+++ b/recipes/perl/perl_5.10.1.bb
@@ -5,7 +5,10 @@ LICENSE = "Artistic|GPL"
 PRIORITY = "optional"
 # We need gnugrep (for -I)
 DEPENDS = "virtual/db perl-native grep-native"
-PR = "r12"
+PR = "r13"
+
+# 5.10.1 has Module::Build built-in
+PROVIDES += "libmodule-build-perl"
 
 # Not tested enough
 DEFAULT_PREFERENCE = "-1"
@@ -279,5 +282,6 @@ FILES_perl-module-unicore-name += "${datadir}/perl/${PV}/unicore"
 
 require perl-rdepends_${PV}.inc
 require perl-rprovides.inc
+require perl-rprovides_${PV}.inc
 
 PARALLEL_MAKE = ""





More information about the Openembedded-commits mailing list