Files
Khem Raj 8f3df8b447 recipes: Convert licenses to SPDX expressions
- Automatically convert all licenses to valid SPDX license expressions
  using convert-spdx-licenses.py

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-07-20 22:35:47 -07:00

52 lines
1.4 KiB
BlitzBasic

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 = "https://metacpan.org/pod/CGI"
SECTION = "libs"
LICENSE = "Artistic-2.0 OR GPL-2.0-only"
LIC_FILES_CHKSUM = "file://LICENSE;md5=415fc49abed2728f9480cd32c8d67beb"
SRC_URI = "${CPAN_MIRROR}/authors/id/L/LE/LEEJO/CGI-${PV}.tar.gz"
SRC_URI[sha256sum] = "babc1ca72db188083a1c3812debe88c4473b943b1f7c662281cd57c580a8bdd9"
S = "${UNPACKDIR}/CGI-${PV}"
inherit cpan ptest-perl
RDEPENDS:${PN} += "\
libhtml-parser-perl \
perl-module-base \
perl-module-deprecate \
perl-module-if \
"
do_install:prepend() {
# requires "-T" (taint) command line option
rm -rf ${B}/t/push.t
rm -rf ${B}/t/utf8.t
# tests building of docs
rm -rf ${B}/t/compiles_pod.t
}
RDEPENDS:${PN}-ptest += " \
libtest-deep-perl \
libtest-warn-perl \
liburi-perl \
perl-module-bytes \
perl-module-file-find \
perl-module-filehandle \
perl-module-findbin \
perl-module-lib \
perl-module-perlio \
perl-module-perlio-scalar \
perl-module-test-more \
perl-module-utf8 \
"
RPROVIDES:${PN} += "perl-module-cgi"
BBCLASSEXTEND = "native"