if BR2_PACKAGE_PERL
menu "Perl libraries/modules"
source "package/perl-crypt-openssl-random/Config.in"
+ source "package/perl-crypt-openssl-rsa/Config.in"
source "package/perl-datetime-tiny/Config.in"
source "package/perl-digest-hmac/Config.in"
source "package/perl-digest-sha1/Config.in"
--- /dev/null
+config BR2_PACKAGE_PERL_CRYPT_OPENSSL_RSA
+ bool "perl-crypt-openssl-rsa"
+ depends on !BR2_STATIC_LIBS
+ select BR2_PACKAGE_PERL_CRYPT_OPENSSL_RANDOM
+ help
+ RSA encoding and decoding, using the openSSL libraries
+
+ https://metacpan.org/release/Crypt-OpenSSL-RSA
+
+comment "perl-crypt-openssl-rsa needs a toolchain w/ dynamic library"
+ depends on BR2_STATIC_LIBS
--- /dev/null
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5 86217a5036fc63779c30420b5fd84129 Crypt-OpenSSL-RSA-0.28.tar.gz
+sha256 5357f977464bb3a8184cf2d3341851a10d5515b4b2b0dfb88bf78995c0ded7be Crypt-OpenSSL-RSA-0.28.tar.gz
--- /dev/null
+################################################################################
+#
+# perl-crypt-openssl-rsa
+#
+################################################################################
+
+PERL_CRYPT_OPENSSL_RSA_VERSION = 0.28
+PERL_CRYPT_OPENSSL_RSA_SOURCE = Crypt-OpenSSL-RSA-$(PERL_CRYPT_OPENSSL_RSA_VERSION).tar.gz
+PERL_CRYPT_OPENSSL_RSA_SITE = $(BR2_CPAN_MIRROR)/authors/id/P/PE/PERLER
+PERL_CRYPT_OPENSSL_RSA_DEPENDENCIES = perl perl-crypt-openssl-random
+PERL_CRYPT_OPENSSL_RSA_LICENSE = Artistic or GPLv1+
+PERL_CRYPT_OPENSSL_RSA_LICENSE_FILES = LICENSE
+
+$(eval $(perl-package))