libesmtp_1.0.4.bb: fix the installed but not shipped in any package warning.
authorMichael Kurz <betheg@bitcloner.org>
Mon, 23 Aug 2010 02:59:18 +0000 (02:59 +0000)
committerEric Bénard <eric@eukrea.com>
Fri, 24 Sep 2010 13:14:39 +0000 (15:14 +0200)
* add esmtp-plugins/*.la to -dev package
  * add esmtp-plugins/*.a to -static package
  * move libesmtp-config to the -dev package

Signed-off-by: Michael Kurz <betheg@bitcloner.org>
Signed-off-by: Eric Bénard <eric@eukrea.com>
recipes/libesmtp/libesmtp_1.0.4.bb

index 72b678b..870a1ae 100644 (file)
@@ -4,7 +4,7 @@ preconfigured Mail Transport Agent (MTA) such as Exim or PostFix."
 LICENSE = "GPL"
 SECTION = "libs/network"
 DEPENDS = "openssl"
-PR = "r2"
+PR = "r3"
 
 SRC_URI = "http://www.stafford.uklinux.net/libesmtp/libesmtp-${PV}.tar.bz2"
 
@@ -12,7 +12,10 @@ inherit autotools binconfig
 
 EXTRA_OECONF = "--disable-isoc --with-openssl=${STAGING_LIBDIR}/.."
 
-FILES_libesmtp_append = " ${libdir}/esmtp-plugins/*.so"
+FILES_${PN} = "${libdir}/lib*${SOLIBS} \
+               ${libdir}/esmtp-plugins/*${SOLIBSDEV}"
+FILES_${PN}-dev  += "${libdir}/esmtp-plugins/*.la"
+FILES_${PN}-static += "${libdir}/esmtp-plugins/*.a"
 FILES_${PN}-dbg += "${libdir}/esmtp-plugins/.debug/"
 
 SRC_URI[md5sum] = "8b4e8a794adc46268f0c6a0b3fb79486"