aboutsummaryrefslogtreecommitdiff
path: root/package/perl-io-socket-ssl
diff options
context:
space:
mode:
authorGravatar Francois Perrad <fperrad@gmail.com>2014-07-17 18:32:59 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-07-17 20:51:16 +0200
commita97d7e8f1ae6e05df15aa0baa9f5fe70c23ca0d6 (patch)
treee81cb3f429d8e7f398521c96b3b569ab1cbb0899 /package/perl-io-socket-ssl
parent1c7ab72386f0ff34ef0e6247ea3cfa1524b16ff7 (diff)
downloadbuildroot-a97d7e8f1ae6e05df15aa0baa9f5fe70c23ca0d6.tar.gz
buildroot-a97d7e8f1ae6e05df15aa0baa9f5fe70c23ca0d6.tar.bz2
perl-io-socket-ssl: new package
Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/perl-io-socket-ssl')
-rw-r--r--package/perl-io-socket-ssl/Config.in11
-rw-r--r--package/perl-io-socket-ssl/perl-io-socket-ssl.mk13
2 files changed, 24 insertions, 0 deletions
diff --git a/package/perl-io-socket-ssl/Config.in b/package/perl-io-socket-ssl/Config.in
new file mode 100644
index 0000000000..c8d038af52
--- /dev/null
+++ b/package/perl-io-socket-ssl/Config.in
@@ -0,0 +1,11 @@
+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
diff --git a/package/perl-io-socket-ssl/perl-io-socket-ssl.mk b/package/perl-io-socket-ssl/perl-io-socket-ssl.mk
new file mode 100644
index 0000000000..103a1603d5
--- /dev/null
+++ b/package/perl-io-socket-ssl/perl-io-socket-ssl.mk
@@ -0,0 +1,13 @@
+################################################################################
+#
+# 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))