[OE-core] [PATCH 3/4] gmp: also generate the libgmpcxx library & package it properly

Kamble, Nitin A nitin.a.kamble at intel.com
Tue Nov 29 01:52:57 UTC 2011



From: openembedded-core-bounces at lists.openembedded.org [mailto:openembedded-core-bounces at lists.openembedded.org] On Behalf Of Otavio Salvador
Sent: Monday, November 28, 2011 5:07 PM
To: Patches and discussions about the oe-core layer
Subject: Re: [OE-core] [PATCH 3/4] gmp: also generate the libgmpcxx library & package it properly

On Mon, Nov 28, 2011 at 22:36, <nitin.a.kamble at intel.com<mailto:nitin.a.kamble at intel.com>> wrote:
...
+PACKAGES =+ "libgmp10 libgmpxx4"
+FILES_libgmp10 = "${libdir}/libgmp.so.10*"
+FILES_libgmpxx4 = "${libdir}/libgmpxx.so.4*"

Why didn't you let the system to name the package using the soname by itself and avoid putting the soname on the glob matching?

Before the generation of libgmpxx library, there was only one library, libgmp, and it was getting packaged into libgmp10 package. After addition of the libgmpxx library the package name changed to the recipe name (gmp), in order to preserve the previous package name(for distro upgrades), and to let people avoid installation of libgmpxx if they don't need it in order to save the space on target, two packages are generated for each library with this scheme.

Nitin

--
Otavio Salvador                             O.S. Systems
E-mail: otavio at ossystems.com.br<mailto:otavio at ossystems.com.br>  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20111128/82dc1e4e/attachment-0002.html>


More information about the Openembedded-core mailing list