diff options
Diffstat (limited to 'meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.37.bb')
| -rw-r--r-- | meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.37.bb | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.37.bb b/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.37.bb new file mode 100644 index 0000000000..90df019fec --- /dev/null +++ b/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.37.bb | |||
| @@ -0,0 +1,41 @@ | |||
| 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] = "917f7312532f8f4af4f3acbf6ba10e0151f8577d2ef1f38e1035229be86eb6f4" | ||
| 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 | perl-module-file-copy \ | ||
| 36 | perl-module-test \ | ||
| 37 | perl-module-test-more \ | ||
| 38 | perl-module-lib \ | ||
| 39 | libcrypt-openssl-guess-perl \ | ||
| 40 | perl-module-english \ | ||
| 41 | " | ||
