source "package/perl/Config.in"
if BR2_PACKAGE_PERL
menu "Perl libraries/modules"
+ source "package/perl-io-socket-ssl/Config.in"
source "package/perl-mojolicious/Config.in"
source "package/perl-net-ssleay/Config.in"
source "package/perl-xml-libxml/Config.in"
--- /dev/null
+config BR2_PACKAGE_PERL_IO_SOCKET_SSL
+ bool "perl-io-socket-ssl"
+ depends on !BR2_PREFER_STATIC_LIB
+ select BR2_PACKAGE_PERL_NET_SSLEAY
+ help
+ Nearly transparent SSL encapsulation for IO::Socket::INET.
+
+ https://github.com/noxxi/p5-io-socket-ssl
+
+comment "perl-io-socket-ssl needs a toolchain w/ dynamic library"
+ depends on BR2_PREFER_STATIC_LIB
--- /dev/null
+################################################################################
+#
+# perl-io-socket-ssl
+#
+################################################################################
+
+PERL_IO_SOCKET_SSL_VERSION = 1.997
+PERL_IO_SOCKET_SSL_SOURCE = IO-Socket-SSL-$(PERL_IO_SOCKET_SSL_VERSION).tar.gz
+PERL_IO_SOCKET_SSL_SITE = $(BR2_CPAN_MIRROR)/authors/id/S/SU/SULLR/
+PERL_IO_SOCKET_SSL_DEPENDENCIES = perl perl-net-ssleay
+PERL_IO_SOCKET_SSL_LICENSE = Artistic or GPLv1+
+
+$(eval $(perl-package))