xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-perl/recipes-perl/libcgi/libcgi-perl_4.54.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunDESCRIPTION = "CGI.pm is a stable, complete and mature solution for processing and preparing \
2*4882a593SmuzhiyunHTTP requests and responses. Major features including processing form \
3*4882a593Smuzhiyunsubmissions, file uploads, reading and writing cookies, query string generation \
4*4882a593Smuzhiyunand manipulation, and processing and preparing HTTP headers."
5*4882a593SmuzhiyunHOMEPAGE = "http://search.cpan.org/~leejo/CGI-4.28/lib/CGI.pod"
6*4882a593SmuzhiyunSECTION = "libs"
7*4882a593SmuzhiyunLICENSE = "Artistic-2.0 | GPL-2.0-only"
8*4882a593Smuzhiyun
9*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://LICENSE;md5=415fc49abed2728f9480cd32c8d67beb"
10*4882a593Smuzhiyun
11*4882a593SmuzhiyunSRC_URI = "http://search.cpan.org/CPAN/authors/id/L/LE/LEEJO/CGI-${PV}.tar.gz"
12*4882a593Smuzhiyun
13*4882a593SmuzhiyunSRC_URI[sha256sum] = "9608a044ae2e87cefae8e69b113e3828552ddaba0d596a02f9954c6ac17fa294"
14*4882a593Smuzhiyun
15*4882a593SmuzhiyunS = "${WORKDIR}/CGI-${PV}"
16*4882a593Smuzhiyun
17*4882a593Smuzhiyuninherit cpan ptest-perl
18*4882a593Smuzhiyun
19*4882a593SmuzhiyunRDEPENDS:${PN} += "\
20*4882a593Smuzhiyun    libhtml-parser-perl \
21*4882a593Smuzhiyun    perl-module-base \
22*4882a593Smuzhiyun    perl-module-deprecate \
23*4882a593Smuzhiyun    perl-module-if \
24*4882a593Smuzhiyun"
25*4882a593Smuzhiyun
26*4882a593Smuzhiyundo_install:prepend() {
27*4882a593Smuzhiyun    # requires "-T" (taint) command line option
28*4882a593Smuzhiyun    rm -rf ${B}/t/push.t
29*4882a593Smuzhiyun    rm -rf ${B}/t/utf8.t
30*4882a593Smuzhiyun    # tests building of docs
31*4882a593Smuzhiyun    rm -rf ${B}/t/compiles_pod.t
32*4882a593Smuzhiyun}
33*4882a593Smuzhiyun
34*4882a593SmuzhiyunRDEPENDS:${PN}-ptest += " \
35*4882a593Smuzhiyun    libtest-deep-perl \
36*4882a593Smuzhiyun    libtest-warn-perl \
37*4882a593Smuzhiyun    perl-module-bytes \
38*4882a593Smuzhiyun    perl-module-file-find \
39*4882a593Smuzhiyun    perl-module-filehandle \
40*4882a593Smuzhiyun    perl-module-findbin \
41*4882a593Smuzhiyun    perl-module-lib \
42*4882a593Smuzhiyun    perl-module-perlio \
43*4882a593Smuzhiyun    perl-module-perlio-scalar \
44*4882a593Smuzhiyun    perl-module-test-more \
45*4882a593Smuzhiyun    perl-module-utf8 \
46*4882a593Smuzhiyun"
47*4882a593Smuzhiyun
48*4882a593SmuzhiyunRPROVIDES:${PN} += "perl-module-cgi"
49*4882a593Smuzhiyun
50*4882a593SmuzhiyunBBCLASSEXTEND = "native"
51