[OE-core] [PATCH 10/21] http-negotiate-perl: add new recipe

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


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

* Add new recipe http-negotiate-perl as libwww-perl-perl
  rdepends on http-negotiate-perl

Signed-off-by: Mingli Yu <Mingli.Yu at windriver.com>
---
 .../perl/http-negotiate-perl_6.01.bb               | 33 ++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 meta/recipes-devtools/perl/http-negotiate-perl_6.01.bb

diff --git a/meta/recipes-devtools/perl/http-negotiate-perl_6.01.bb b/meta/recipes-devtools/perl/http-negotiate-perl_6.01.bb
new file mode 100644
index 0000000..9c71112
--- /dev/null
+++ b/meta/recipes-devtools/perl/http-negotiate-perl_6.01.bb
@@ -0,0 +1,33 @@
+DESCRIPTION = "This module provides a complete implementation of the HTTP content \
+negotiation algorithm specified in draft-ietf-http-v11-spec-00.ps \
+chapter \
+12. Content negotiation allows for the selection of a preferred content \
+representation based upon attributes of the negotiable variants and the \
+value of the various Accept* header fields in the request."
+
+SECTION = "libs"
+LICENSE = "Artistic-1.0 | GPL-2.0"
+PR = "r0"
+
+MAINTAINER=	"Poky <poky at yoctoproject.org>"
+HOMEPAGE=	"https://metacpan.org/release/HTTP-Negotiate"
+
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Artistic-1.0;md5=cda03bbdc3c1951996392b872397b798 \
+file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
+
+SRC_URI = "http://cpan.metacpan.org/authors/id/G/GA/GAAS/HTTP-Negotiate-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "1236195250e264d7436e7bb02031671b"
+SRC_URI[sha256sum] = "1c729c1ea63100e878405cda7d66f9adfd3ed4f1d6cacaca0ee9152df728e016"
+RDEPENDS_${PN} += "http-message-perl"
+
+S = "${WORKDIR}/HTTP-Negotiate-${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