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 | |
Andrew Geissler | 32b1199 | 2021-03-31 13:37:05 -0500 | [diff] [blame] | 8 | SRC_URI[md5sum] = "9e86baf96828a38c967003a5e66f0c39" |
| 9 | SRC_URI[sha256sum] = "0a18d18768cf42b49b15c9dea626199dc74346bbbc76acd3d817b9c1d2bd471d" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 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 | " |