[oe] [meta-perl][PATCH] add libcrypt-openssl-rsa-perl

Roman Khimov khimov at altell.ru
Wed Dec 4 11:28:40 UTC 2013


В письме от 4 декабря 2013 11:59:07 пользователь Patrick Patat написал:
> +DEPENDS += "perl openssl"
> +
> +EXTRA_CPANFLAGS = "INC='-I${STAGING_INCDIR}' LIBS='-L${STAGING_LIBDIR}
> -lssl -L${STAGING_DIR_TARGET}${base_libdir} -lcrypto'" +
> +S = "${WORKDIR}/Crypt-OpenSSL-RSA-${PV}"
> +
> +inherit cpan
> +
> +do_compile() {
> +        export LIBC="$(find ${STAGING_DIR_TARGET}${base_libdir}/ -name
> 'libc-*.so')" +	export OTHERLDFLAGS='-Wl,-rpath'
> +        cpan_do_compile
> +}

Although this one:
http://git.openembedded.org/openembedded/commit/?id=0f2de8ebc390406205fd0b27f62c833895aa6901
is for a bit different version in a bit different kind of OE, I think you 
don't need this kind of CPANFLAGS and do_compile mangling. Also, inheriting 
cpan already sets proper perl DEPENDS/RDEPENDS.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3778 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20131204/183f8d00/attachment-0002.p7s>


More information about the Openembedded-devel mailing list