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