blob: 9a42b52cb693e8b4548b1d32429e8b080b976735 [file] [log] [blame]
Brad Bishop15ae2502019-06-18 21:44:24 -04001SUMMARY = "Crypt Openssl RSA cpan module"
2SECTION = "libs"
3LICENSE = "Artistic-1.0 | GPL-1.0+"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=a67ceecc5d9a91a5a0d003ba50c26346"
5
6SRC_URI = "http://www.cpan.org/modules/by-module/Crypt/Crypt-OpenSSL-RSA-${PV}.tar.gz "
7
8SRC_URI[md5sum] = "d33681e19d2094df7c26bc7a4509265e"
9SRC_URI[sha256sum] = "4173403ad4cf76732192099f833fbfbf3cd8104e0246b3844187ae384d2c5436"
10
11DEPENDS += "libcrypt-openssl-guess-perl-native openssl"
12
Patrick Williams213cb262021-08-07 19:21:33 -050013RDEPENDS:${PN} = " \
Brad Bishop15ae2502019-06-18 21:44:24 -040014 libcrypt-openssl-random-perl \
15 perl-module-autoloader \
16 perl-module-carp \
17 perl-module-strict \
18 perl-module-warnings \
19 perl-module-xsloader \
20"
21
22EXTRA_CPANFLAGS = "INC='-I${STAGING_INCDIR}' LIBS='-L${STAGING_LIBDIR} -lssl -L${STAGING_DIR_TARGET}${base_libdir} -lcrypto'"
23
24S = "${WORKDIR}/Crypt-OpenSSL-RSA-${PV}"
25
26inherit cpan ptest-perl
27
28do_compile() {
29 export OTHERLDFLAGS='-Wl,-rpath'
30 cpan_do_compile
31}
32
Patrick Williams213cb262021-08-07 19:21:33 -050033RDEPENDS:${PN}-ptest = " \
Brad Bishop15ae2502019-06-18 21:44:24 -040034 ${PN} \
35 perl-module-file-copy \
36 perl-module-test \
37 perl-module-test-more \
38"