1SUMMARY = "Crypt::OpenSSL::Random - OpenSSL/LibreSSL pseudo-random number generator access"
2SECTION = "libs"
3LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
4
5LIC_FILES_CHKSUM = "file://LICENSE;md5=089c18d635ae273e1727ec385e64063b"
6
7SRC_URI = "http://www.cpan.org/modules/by-module/Crypt/Crypt-OpenSSL-Random-${PV}.tar.gz "
8SRC_URI[sha256sum] = "fcf58cb2af4c3eda2fe1405527d9373efe9576268fce8adb34df9ce9b6b44d1e"
9
10S = "${WORKDIR}/Crypt-OpenSSL-Random-${PV}"
11
12DEPENDS += " \
13    openssl \
14    libcrypt-openssl-guess-perl-native \
15"
16
17EXTRA_CPANFLAGS = "INC='-I${STAGING_INCDIR}' LIBS='-L${STAGING_LIBDIR} -L${STAGING_BASELIBDIR} -lcrypto'"
18
19inherit cpan ptest-perl
20
21RDEPENDS:${PN} += "\
22    perl-module-exporter \
23    perl-module-strict \
24    perl-module-vars \
25    perl-module-xsloader \
26"
27
28RDEPENDS:${PN}-ptest += "\
29    perl-module-file-copy \
30    perl-module-test-more \
31"
32
33BBCLASSEXTEND = "native"
34