perl-net-ssleay: new package
authorFrancois Perrad <fperrad@gmail.com>
Mon, 23 Jun 2014 18:14:45 +0000 (20:14 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 29 Jun 2014 08:46:20 +0000 (10:46 +0200)
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in
package/perl-net-ssleay/Config.in [new file with mode: 0644]
package/perl-net-ssleay/perl-net-ssleay.mk [new file with mode: 0644]

index dc3d6b7117d8bae88387b245a111e7bda57d57f5..01a91b69683fbefd8f03ab484491982ae1746ac3 100644 (file)
@@ -424,6 +424,7 @@ endif
 if BR2_PACKAGE_PERL
 menu "Perl libraries/modules"
        source "package/perl-mojolicious/Config.in"
+       source "package/perl-net-ssleay/Config.in"
 endmenu
 endif
        source "package/php/Config.in"
diff --git a/package/perl-net-ssleay/Config.in b/package/perl-net-ssleay/Config.in
new file mode 100644 (file)
index 0000000..bc219b0
--- /dev/null
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PERL_NET_SSLEAY
+       bool "perl-net-ssleay"
+       select BR2_PACKAGE_OPENSSL
+       help
+         Perl extension for using OpenSSL
+
+         https://metacpan.org/release/Net-SSLeay
diff --git a/package/perl-net-ssleay/perl-net-ssleay.mk b/package/perl-net-ssleay/perl-net-ssleay.mk
new file mode 100644 (file)
index 0000000..413fdf0
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# perl-net-ssleay
+#
+################################################################################
+
+PERL_NET_SSLEAY_VERSION = 1.64
+PERL_NET_SSLEAY_SOURCE = Net-SSLeay-$(PERL_NET_SSLEAY_VERSION).tar.gz
+PERL_NET_SSLEAY_SITE = $(BR2_CPAN_MIRROR)/authors/id/M/MI/MIKEM/
+PERL_NET_SSLEAY_DEPENDENCIES = perl openssl
+PERL_NET_SSLEAY_LICENSE = OpenSSL
+PERL_NET_SSLEAY_LICENSE_FILES = LICENSE
+
+$(eval $(perl-package))