diff options
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.bb | 39 |
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 @@ | |||
1 | SUMMARY = "Crypt Openssl RSA cpan module" | ||
2 | SECTION = "libs" | ||
3 | HOMEPAGE = "https://metacpan.org/pod/Crypt::OpenSSL::RSA" | ||
4 | LICENSE = "Artistic-1.0 | GPL-1.0-or-later" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=399bd4de06d233aa49afa7c47cea8117" | ||
6 | |||
7 | SRC_URI = "${CPAN_MIRROR}/authors/id/T/TO/TODDR/Crypt-OpenSSL-RSA-${PV}.tar.gz \ | ||
8 | " | ||
9 | |||
10 | SRC_URI[sha256sum] = "5eebd55ac071634c864a8e78f5cfafbaaf43cf84c04323a09b71dd76bf025cc2" | ||
11 | |||
12 | DEPENDS += "libcrypt-openssl-guess-perl-native openssl" | ||
13 | |||
14 | RDEPENDS:${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 | |||
23 | EXTRA_CPANFLAGS = "INC='-I${STAGING_INCDIR}' LIBS='-L${STAGING_LIBDIR} -lssl -L${STAGING_DIR_TARGET}${base_libdir} -lcrypto'" | ||
24 | |||
25 | S = "${UNPACKDIR}/Crypt-OpenSSL-RSA-${PV}" | ||
26 | |||
27 | inherit cpan ptest-perl | ||
28 | |||
29 | do_compile() { | ||
30 | export OTHERLDFLAGS='-Wl,-rpath' | ||
31 | cpan_do_compile | ||
32 | } | ||
33 | |||
34 | RDEPENDS:${PN}-ptest = " \ | ||
35 | ${PN} \ | ||
36 | perl-module-file-copy \ | ||
37 | perl-module-test \ | ||
38 | perl-module-test-more \ | ||
39 | " | ||