blob: 57b5fbf89e5c00bf4d9e1c29d457d557822f1249 [file] [log] [blame]
Brad Bishop26bdd442019-08-16 17:08:17 -04001SUMMARY = "LDAP Perl module"
2DESCRIPTION = "Net::LDAP is a collection of modules that implements \
3a LDAP services API for Perl programs. The module may be used to \
4search directories or perform maintenance functions such as adding, \
5deleting or modifying entries."
6
7SECTION = "libs"
8
9LICENSE = "Artistic-1.0|GPLv1+"
10LIC_FILES_CHKSUM = "file://README;beginline=3;endline=5;md5=4d6588c2fa0d38ae162f6314d201d89e"
11
12SRC_URI = "${CPAN_MIRROR}/authors/id/M/MA/MARSCHAP/perl-ldap-${PV}.tar.gz"
13
Andrew Geissler72956ed2021-01-08 16:11:14 -060014SRC_URI[md5sum] = "a949a2bab07b44cc043b965485fe493a"
15SRC_URI[sha256sum] = "19a2f7f7959fe23d16367475772c325109f8604d2949e34b96dddb2dfa031170"
Brad Bishop26bdd442019-08-16 17:08:17 -040016
17S = "${WORKDIR}/perl-ldap-${PV}"
18
19inherit cpan ptest-perl
20
21do_configure_prepend() {
22 perl -pi -e 's/auto_install_now.*//g' Makefile.PL
23}
24
25do_install_ptest() {
26 cp -r ${B}/data ${D}${PTEST_PATH}
27 chown -R root:root ${D}${PTEST_PATH}
28}
29
30RDEPENDS_${PN} += " \
31 libconvert-asn1-perl \
32 libio-socket-ssl-perl \
33 libauthen-sasl-perl \
34 perl-module-integer \
35"
36
37RDEPENDS_${PN}-ptest += " \
38 libxml-sax-base-perl \
39 libxml-sax-writer-perl \
40 perl-module-file-compare \
41 perl-module-perlio \
42 perl-module-test-more \
43"
44
45BBCLASSEXTEND = "native"