[OE-core] [PATCH 03/21] encode-locale-perl: add new recipe

mingli.yu at windriver.com mingli.yu at windriver.com
Mon Aug 29 02:16:21 UTC 2016


From: Mingli Yu <Mingli.Yu at windriver.com>

* Add encode-locale-perl recipe as libwww-perl-perl
  rdepends on encode-locale-perl

Signed-off-by: Mingli Yu <Mingli.Yu at windriver.com>
---
 .../perl/encode-locale-perl_1.05.bb                | 32 ++++++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 meta/recipes-devtools/perl/encode-locale-perl_1.05.bb

diff --git a/meta/recipes-devtools/perl/encode-locale-perl_1.05.bb b/meta/recipes-devtools/perl/encode-locale-perl_1.05.bb
new file mode 100644
index 0000000..8a7450d
--- /dev/null
+++ b/meta/recipes-devtools/perl/encode-locale-perl_1.05.bb
@@ -0,0 +1,32 @@
+DESCRIPTION = "In many applications it's wise to let Perl use Unicode for the strings \
+it processes. Most of the interfaces Perl has to the outside world are \
+still \
+byte based. Programs therefore need to decode byte strings that enter \
+the \
+program from the outside and encode them again on the way out."
+
+SECTION = "libs"
+LICENSE = "Artistic-1.0 | GPL-2.0"
+PR = "r0"
+
+MAINTAINER=	"Poky <poky at yoctoproject.org>"
+HOMEPAGE=	"https://metacpan.org/release/Encode-Locale"
+
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Artistic-1.0;md5=cda03bbdc3c1951996392b872397b798 \
+file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
+
+SRC_URI = "https://cpan.metacpan.org/authors/id/G/GA/GAAS/Encode-Locale-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "fcfdb8e4ee34bcf62aed429b4a23db27"
+SRC_URI[sha256sum] = "176fa02771f542a4efb1dbc2a4c928e8f4391bf4078473bd6040d8f11adb0ec1"
+
+S = "${WORKDIR}/Encode-Locale-${PV}"
+
+inherit cpan
+
+do_compile() {
+	export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')"
+	cpan_do_compile
+}
+
+BBCLASSEXTEND = "native"
-- 
2.8.1




More information about the Openembedded-core mailing list