[oe] [PATCH][meta-perl] libcgi-perl: add version 4.28 to provide perl-module-cgi

Hongxu Jia hongxu.jia at windriver.com
Wed Jun 8 05:59:07 UTC 2016


Since perl 5.22 has removed perl-module-cgi,
(http://perl5.git.perl.org/perl.git/commitdiff/e9fa5a80)
we should add it back.
(http://search.cpan.org/~leejo/CGI-4.28/lib/CGI.pod)

Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
---
 meta-perl/recipes-perl/libcgi/libcgi-perl_4.28.bb | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 meta-perl/recipes-perl/libcgi/libcgi-perl_4.28.bb

diff --git a/meta-perl/recipes-perl/libcgi/libcgi-perl_4.28.bb b/meta-perl/recipes-perl/libcgi/libcgi-perl_4.28.bb
new file mode 100644
index 0000000..20626d2
--- /dev/null
+++ b/meta-perl/recipes-perl/libcgi/libcgi-perl_4.28.bb
@@ -0,0 +1,20 @@
+DESCRIPTION = "CGI.pm is a stable, complete and mature solution for processing and preparing \
+HTTP requests and responses. Major features including processing form \
+submissions, file uploads, reading and writing cookies, query string generation \
+and manipulation, and processing and preparing HTTP headers."
+HOMEPAGE = "http://search.cpan.org/~leejo/CGI-4.28/lib/CGI.pod"
+SECTION = "libs"
+LICENSE = "Artistic-2.0 | GPL-2.0"
+
+LIC_FILES_CHKSUM = "file://LICENSE;md5=2e9769f0a2613a98bc7fce15dee0c533"
+
+SRC_URI = "http://search.cpan.org/CPAN/authors/id/L/LE/LEEJO/CGI-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "28efb391377f6e98c19c23292d5fcc8c"
+SRC_URI[sha256sum] = "1297d3ed6616cacb4eb57860e3e743f3890111e7a63ca08849930f42f1360532"
+
+S = "${WORKDIR}/CGI-${PV}"
+
+inherit cpan
+
+RPROVIDES_${PN} += "perl-module-cgi"
-- 
2.8.1




More information about the Openembedded-devel mailing list