blob: 50ab5af3adde75514b6af207a81b8507b780f6b4 [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001SUMMARY = "Net::SSLeay - Perl extension for using OpenSSL"
2DESCRIPTION = "This module offers some high level convenience functions for accessing \
3web pages on SSL servers (for symmetry, same API is offered for \
4accessing http servers, too), a sslcat() function for writing your own \
5clients, and finally access to the SSL api of SSLeay/OpenSSL package \
6so you can write servers or clients for more complicated applications."
7HOMEPAGE = "http://search.cpan.org/dist/Net-SSLeay/"
8SECTION = "libs"
9
10LICENSE = "Artistic-1.0 | GPL-1.0+"
11LIC_FILES_CHKSUM = "file://README;beginline=274;endline=294;md5=67d67095d83e339da538a082fad5f38e"
12
13DEPENDS = "openssl zlib openssl-native"
14RDEPENDS_${PN} += "\
15 libssl \
16 libcrypto \
17 perl-module-carp \
18 perl-module-errno \
19 perl-module-extutils-makemaker \
20 perl-module-mime-base64 \
21 perl-module-socket \
22 zlib \
23"
24
25SRC_URI = "http://search.cpan.org/CPAN/authors/id/M/MI/MIKEM/Net-SSLeay-${PV}.tar.gz \
26 file://no-exec-on-configure.patch \
27 file://run-ptest \
28 "
29SRC_URI[md5sum] = "d602bdce4e0531c6efc276e3e429ca69"
30SRC_URI[sha256sum] = "9d8188b9fb1cae3bd791979c20554925d5e94a138d00414f1a6814549927b0c8"
31
32S = "${WORKDIR}/Net-SSLeay-${PV}"
33
34inherit cpan ptest
35
36do_configure() {
37 export OPENSSL_PREFIX="${STAGING_EXECPREFIXDIR}"
38 cpan_do_configure
39}
40
41do_install_ptest() {
42 cp -r ${B}/t ${D}${PTEST_PATH}
43}
44
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080045FILES_${PN}-dbg =+ "${libdir}/perl/vendor_perl/*/auto/Net/SSLeay/.debug/"
46
47RDEPENDS_${PN}-ptest = " perl"