summaryrefslogtreecommitdiffstats
path: root/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.35.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.35.bb')
-rw-r--r--meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.35.bb39
1 files changed, 39 insertions, 0 deletions
diff --git a/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.35.bb b/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.35.bb
new file mode 100644
index 0000000000..2e383a83e1
--- /dev/null
+++ b/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.35.bb
@@ -0,0 +1,39 @@
1SUMMARY = "Crypt Openssl RSA cpan module"
2SECTION = "libs"
3HOMEPAGE = "https://metacpan.org/pod/Crypt::OpenSSL::RSA"
4LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=399bd4de06d233aa49afa7c47cea8117"
6
7SRC_URI = "${CPAN_MIRROR}/authors/id/T/TO/TODDR/Crypt-OpenSSL-RSA-${PV}.tar.gz \
8"
9
10SRC_URI[sha256sum] = "5eebd55ac071634c864a8e78f5cfafbaaf43cf84c04323a09b71dd76bf025cc2"
11
12DEPENDS += "libcrypt-openssl-guess-perl-native openssl"
13
14RDEPENDS:${PN} = " \
15 libcrypt-openssl-random-perl \
16 perl-module-autoloader \
17 perl-module-carp \
18 perl-module-strict \
19 perl-module-warnings \
20 perl-module-xsloader \
21"
22
23EXTRA_CPANFLAGS = "INC='-I${STAGING_INCDIR}' LIBS='-L${STAGING_LIBDIR} -lssl -L${STAGING_DIR_TARGET}${base_libdir} -lcrypto'"
24
25S = "${UNPACKDIR}/Crypt-OpenSSL-RSA-${PV}"
26
27inherit cpan ptest-perl
28
29do_compile() {
30 export OTHERLDFLAGS='-Wl,-rpath'
31 cpan_do_compile
32}
33
34RDEPENDS:${PN}-ptest = " \
35 ${PN} \
36 perl-module-file-copy \
37 perl-module-test \
38 perl-module-test-more \
39"