Patchwork [8/9] libi18n-collate-perl: add it

login
register
mail settings
Submitter Kang Kai
Date Sept. 5, 2012, 7:32 a.m.
Message ID <562deb7a981dda2f5ee6bb49f8e32ac939eb62b8.1346829716.git.kai.kang@windriver.com>
Download mbox | patch
Permalink /patch/35887/
State New
Headers show

Comments

Kang Kai - Sept. 5, 2012, 7:32 a.m.
LSB perl test 4.1.6-2, all/tst_perlModPresent.pl 1 fails with:
test 109 'use I18N::Collate;' failed

This module is deprecated from perl 5.003_06. But LSB perl test
4.1.6-2 still test it. So add it to fix this issue.

[Yocto #3031]

Signed-off-by: Kang Kai <kai.kang@windriver.com>
---
 .../perl/libi18n-collate-perl_1.02.bb              |   22 ++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)
 create mode 100644 meta-lsb/recipes-devtools/perl/libi18n-collate-perl_1.02.bb

Patch

diff --git a/meta-lsb/recipes-devtools/perl/libi18n-collate-perl_1.02.bb b/meta-lsb/recipes-devtools/perl/libi18n-collate-perl_1.02.bb
new file mode 100644
index 0000000..2722ec0
--- /dev/null
+++ b/meta-lsb/recipes-devtools/perl/libi18n-collate-perl_1.02.bb
@@ -0,0 +1,22 @@ 
+SUMMARY = "Perl module that compare 8-bit scalar data according to the current locale"
+DESCRIPTION = "This module provides you with objects that will collate according to \
+your national character set, provided that the POSIX setlocale() function is supported \
+on your system."
+
+HOMEPAGE = "http://search.cpan.org/~flora/I18N-Collate/"
+SECTION = "libs"
+LICENSE = "Artistic-1.0 | GPL-1.0+"
+PR = "r0"
+
+LIC_FILES_CHKSUM = "file://LICENSE;md5=ff6d629144a6ec1ea8c300f75760184f"
+
+SRC_URI = "http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/I18N-Collate-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "72ddb6d1c59cfdf31aa3b04799b86af0"
+SRC_URI[sha256sum] = "9174506bc903eda89690394e3f45558ab7e013114227896d8569d6164648fe37"
+
+S = "${WORKDIR}/I18N-Collate-${PV}"
+
+inherit cpan
+
+BBCLASSEXTEND = "native"