summaryrefslogtreecommitdiffstats
path: root/meta-perl/recipes-perl/libcgi/libcgi-perl_4.70.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-perl/recipes-perl/libcgi/libcgi-perl_4.70.bb')
-rw-r--r--meta-perl/recipes-perl/libcgi/libcgi-perl_4.70.bb51
1 files changed, 51 insertions, 0 deletions
diff --git a/meta-perl/recipes-perl/libcgi/libcgi-perl_4.70.bb b/meta-perl/recipes-perl/libcgi/libcgi-perl_4.70.bb
new file mode 100644
index 0000000000..59803b403a
--- /dev/null
+++ b/meta-perl/recipes-perl/libcgi/libcgi-perl_4.70.bb
@@ -0,0 +1,51 @@
1DESCRIPTION = "CGI.pm is a stable, complete and mature solution for processing and preparing \
2HTTP requests and responses. Major features including processing form \
3submissions, file uploads, reading and writing cookies, query string generation \
4and manipulation, and processing and preparing HTTP headers."
5HOMEPAGE = "https://metacpan.org/pod/CGI"
6SECTION = "libs"
7LICENSE = "Artistic-2.0 | GPL-2.0-only"
8
9LIC_FILES_CHKSUM = "file://LICENSE;md5=415fc49abed2728f9480cd32c8d67beb"
10
11SRC_URI = "${CPAN_MIRROR}/authors/id/L/LE/LEEJO/CGI-${PV}.tar.gz"
12
13SRC_URI[sha256sum] = "538ad19c40402e3bbbe00e6d374c3ce2966feb391096dac883ac5104c2083bc9"
14
15S = "${UNPACKDIR}/CGI-${PV}"
16
17inherit cpan ptest-perl
18
19RDEPENDS:${PN} += "\
20 libhtml-parser-perl \
21 perl-module-base \
22 perl-module-deprecate \
23 perl-module-if \
24"
25
26do_install:prepend() {
27 # requires "-T" (taint) command line option
28 rm -rf ${B}/t/push.t
29 rm -rf ${B}/t/utf8.t
30 # tests building of docs
31 rm -rf ${B}/t/compiles_pod.t
32}
33
34RDEPENDS:${PN}-ptest += " \
35 libtest-deep-perl \
36 libtest-warn-perl \
37 liburi-perl \
38 perl-module-bytes \
39 perl-module-file-find \
40 perl-module-filehandle \
41 perl-module-findbin \
42 perl-module-lib \
43 perl-module-perlio \
44 perl-module-perlio-scalar \
45 perl-module-test-more \
46 perl-module-utf8 \
47"
48
49RPROVIDES:${PN} += "perl-module-cgi"
50
51BBCLASSEXTEND = "native"