Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 1 | SUMMARY = "Guess OpenSSL include path" |
| 2 | SECTION = "libs" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 3 | LICENSE = "Artistic-1.0 | GPL-1.0-or-later" |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 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[sha256sum] = "1c5033381819fdb4c9087dd291b90ec70e7810d31d57eade9b388eccfd70386d" |
| 9 | |
| 10 | DEPENDS += "openssl" |
| 11 | |
| 12 | RDEPENDS:${PN} = "\ |
| 13 | perl-module-config \ |
| 14 | perl-module-exporter \ |
| 15 | perl-module-extutils-mm \ |
| 16 | perl-module-extutils-mm-unix \ |
| 17 | perl-module-file-spec \ |
| 18 | perl-module-symbol \ |
| 19 | perl-module-strict \ |
| 20 | perl-module-warnings \ |
| 21 | " |
| 22 | |
| 23 | EXTRA_CPANFLAGS = "INC='-I${STAGING_INCDIR}' LIBS='-L${STAGING_LIBDIR} -lssl -L${STAGING_DIR_TARGET}${base_libdir} -lcrypto'" |
| 24 | |
| 25 | S = "${WORKDIR}/Crypt-OpenSSL-Guess-${PV}" |
| 26 | |
| 27 | inherit cpan ptest-perl |
| 28 | |
| 29 | BBCLASSEXTEND = "native" |
| 30 | |
| 31 | # for backwards compatibility |
| 32 | PROVIDES_${PN} += "libcrypt-openssl-guess" |
| 33 | |
| 34 | RDEPENDS:${PN}-ptest += "\ |
| 35 | perl-module-test-more \ |
| 36 | " |