libcgi-perl_4.71.bb 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. DESCRIPTION = "CGI.pm is a stable, complete and mature solution for processing and preparing \
  2. HTTP requests and responses. Major features including processing form \
  3. submissions, file uploads, reading and writing cookies, query string generation \
  4. and manipulation, and processing and preparing HTTP headers."
  5. HOMEPAGE = "https://metacpan.org/pod/CGI"
  6. SECTION = "libs"
  7. LICENSE = "Artistic-2.0 | GPL-2.0-only"
  8. LIC_FILES_CHKSUM = "file://LICENSE;md5=415fc49abed2728f9480cd32c8d67beb"
  9. SRC_URI = "${CPAN_MIRROR}/authors/id/L/LE/LEEJO/CGI-${PV}.tar.gz"
  10. SRC_URI[sha256sum] = "9da85b30d9404d183da7ca7aedb83702cb07ed73c3078bf6f36c87f1e8a0196a"
  11. S = "${UNPACKDIR}/CGI-${PV}"
  12. inherit cpan ptest-perl
  13. RDEPENDS:${PN} += "\
  14. libhtml-parser-perl \
  15. perl-module-base \
  16. perl-module-deprecate \
  17. perl-module-if \
  18. "
  19. do_install:prepend() {
  20. # requires "-T" (taint) command line option
  21. rm -rf ${B}/t/push.t
  22. rm -rf ${B}/t/utf8.t
  23. # tests building of docs
  24. rm -rf ${B}/t/compiles_pod.t
  25. }
  26. RDEPENDS:${PN}-ptest += " \
  27. libtest-deep-perl \
  28. libtest-warn-perl \
  29. liburi-perl \
  30. perl-module-bytes \
  31. perl-module-file-find \
  32. perl-module-filehandle \
  33. perl-module-findbin \
  34. perl-module-lib \
  35. perl-module-perlio \
  36. perl-module-perlio-scalar \
  37. perl-module-test-more \
  38. perl-module-utf8 \
  39. "
  40. RPROVIDES:${PN} += "perl-module-cgi"
  41. BBCLASSEXTEND = "native"