Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 1 | SUMMARY = "Crypt Openssl RSA cpan module" |
| 2 | SECTION = "libs" |
| 3 | LICENSE = "Artistic-1.0 | GPL-1.0+" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=a67ceecc5d9a91a5a0d003ba50c26346" |
| 5 | |
| 6 | SRC_URI = "http://www.cpan.org/modules/by-module/Crypt/Crypt-OpenSSL-RSA-${PV}.tar.gz " |
| 7 | |
| 8 | SRC_URI[md5sum] = "10bca2fc6d0ba1aa329f227424ae87d5" |
| 9 | SRC_URI[sha256sum] = "23e13531397af102db4fd24bcf70137add7c85c23cca697c43aa71c2959a29ac" |
| 10 | |
| 11 | DEPENDS += "libcrypt-openssl-guess-native openssl" |
| 12 | |
| 13 | RDEPENDS_${PN}="libcrypt-openssl-random-perl" |
| 14 | |
| 15 | EXTRA_CPANFLAGS = "INC='-I${STAGING_INCDIR}' LIBS='-L${STAGING_LIBDIR} -lssl -L${STAGING_DIR_TARGET}${base_libdir} -lcrypto'" |
| 16 | |
| 17 | S = "${WORKDIR}/Crypt-OpenSSL-RSA-${PV}" |
| 18 | |
| 19 | inherit cpan |
| 20 | |
| 21 | do_compile() { |
| 22 | export OTHERLDFLAGS='-Wl,-rpath' |
| 23 | cpan_do_compile |
| 24 | } |