[OE-core] [PATCH V2 08/25] curl: inherit shlibpackaging class

Phil Blundell philb at gnu.org
Wed Jul 13 09:14:38 UTC 2011


I'm slightly confused about what's going on with the various subpackages
in these recipes now.

As far as I can tell, the current shlibpackaging.bbclass just does:

PACKAGES =+ "lib${PN}"
FILES_lib${PN} = "${libdir}/*${SOLIBS} ${base_libdir}/*${SOLIBS}"
RDEPENDS_lib${PN} = "${PN}"

i.e. it doesn't create a lib${PN}-dev or lib${PN}-doc package.  But:

On Wed, 2011-07-13 at 00:33 -0700, Saul Wold wrote:
> -PACKAGES += "${PN}-certs libcurl libcurl-dev libcurl-doc"
> +PACKAGES += "${PN}-certs"

[...]
 
> +FILES_lib${PN}-dev =+ "${libdir}/pkgconfig \
>                        ${datadir}/aclocal \
>                        ${bindir}/*-config"
>  
> -FILES_lib${PN}-doc = "${mandir}/man3 \
> -                      ${mandir}/man1/curl-config.1"
> +
> +FILES_lib${PN}-doc =+ "${mandir}/man1/curl-config.1"

... it seems that curl is still appending the FILES for those two even
though it isn't adding them to PACKAGES anymore.  Where do they come
from now, and where are the default FILES defined?

p.






More information about the Openembedded-core mailing list