@@ -667,6 +667,7 @@ if BR2_PACKAGE_PERL
menu "Perl libraries/modules"
source "package/perl-appconfig/Config.in"
source "package/perl-astro-suntime/Config.in"
+ source "package/perl-cgi/Config.in"
source "package/perl-convert-asn1/Config.in"
source "package/perl-crypt-blowfish/Config.in"
source "package/perl-crypt-cbc/Config.in"
new file mode 100644
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_PERL_CGI
+ bool "perl-cgi"
+ depends on !BR2_STATIC_LIBS
+ select BR2_PACKAGE_PERL_HTML_PARSER
+ help
+ Handle Common Gateway Interface requests and responses
+
+ https://metacpan.org/module/CGI
+
+comment "perl-cgi needs a toolchain w/ dynamic library"
+ depends on BR2_STATIC_LIBS
new file mode 100644
@@ -0,0 +1,6 @@
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5 0aeb8563d533e7f83724ed068b5bfc37 CGI-4.38.tar.gz
+sha256 8c58f4a529bb92a914b22b7e64c5e31185c9854a4070a6dfad44fe5cc248e7d4 CGI-4.38.tar.gz
+
+# computed by scancpan
+sha256 c7cae89f03a970e90443b93cbf4b65d287ed20572e5d81543589c4b45c80fad8 LICENSE
new file mode 100644
@@ -0,0 +1,14 @@
+################################################################################
+#
+# perl-cgi
+#
+################################################################################
+
+PERL_CGI_VERSION = 4.38
+PERL_CGI_SOURCE = CGI-$(PERL_CGI_VERSION).tar.gz
+PERL_CGI_SITE = $(BR2_CPAN_MIRROR)/authors/id/L/LE/LEEJO
+PERL_CGI_DEPENDENCIES = perl-html-parser
+PERL_CGI_LICENSE = Artistic or GPL-1.0+
+PERL_CGI_LICENSE_FILES = LICENSE
+
+$(eval $(perl-package))
Signed-off-by: Christopher McCrory <chrismcc@gmail.com> --- package/Config.in | 1 + package/perl-cgi/Config.in | 11 +++++++++++ package/perl-cgi/perl-cgi.hash | 6 ++++++ package/perl-cgi/perl-cgi.mk | 14 ++++++++++++++ 4 files changed, 32 insertions(+) create mode 100644 package/perl-cgi/Config.in create mode 100644 package/perl-cgi/perl-cgi.hash create mode 100644 package/perl-cgi/perl-cgi.mk