Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 1 | SUMMARY = "Guess OpenSSL include path" |
| 2 | SECTION = "libs" |
| 3 | LICENSE = "Artistic-1.0 | GPL-1.0+" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=ea914cc2718e8d53bd7744d96e66c03c" |
| 5 | |
| 6 | SRC_URI = "http://www.cpan.org/modules/by-module/Crypt/Crypt-OpenSSL-Guess-${PV}.tar.gz " |
| 7 | |
| 8 | SRC_URI[md5sum] = "e768fe2c07826b0ac9ea604c79f93032" |
| 9 | SRC_URI[sha256sum] = "aa6b18e38cb852cbad80a58cd90c395b40819d4d01e0ab37e7703149094d7167" |
| 10 | |
| 11 | DEPENDS += "openssl" |
| 12 | |
Brad Bishop | 15ae250 | 2019-06-18 21:44:24 -0400 | [diff] [blame] | 13 | RDEPENDS_${PN} = "\ |
| 14 | perl-module-config \ |
| 15 | perl-module-exporter \ |
| 16 | perl-module-extutils-mm \ |
| 17 | perl-module-extutils-mm-unix \ |
| 18 | perl-module-file-spec \ |
| 19 | perl-module-symbol \ |
| 20 | perl-module-strict \ |
| 21 | perl-module-warnings \ |
| 22 | " |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 23 | |
| 24 | EXTRA_CPANFLAGS = "INC='-I${STAGING_INCDIR}' LIBS='-L${STAGING_LIBDIR} -lssl -L${STAGING_DIR_TARGET}${base_libdir} -lcrypto'" |
| 25 | |
| 26 | S = "${WORKDIR}/Crypt-OpenSSL-Guess-${PV}" |
| 27 | |
Brad Bishop | 15ae250 | 2019-06-18 21:44:24 -0400 | [diff] [blame] | 28 | inherit cpan ptest-perl |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 29 | |
| 30 | BBCLASSEXTEND = "native" |
Brad Bishop | 15ae250 | 2019-06-18 21:44:24 -0400 | [diff] [blame] | 31 | |
| 32 | # for backwards compatibility |
| 33 | PROVIDES_${PN} += "libcrypt-openssl-guess" |
| 34 | |
| 35 | RDEPENDS_${PN}-ptest += "\ |
| 36 | perl-module-test-more \ |
| 37 | " |