Patchwork strongswan_5.0.0.bb: update recipe packaging to fix QA warnings and package all content

login
register
mail settings
Submitter Matthew McClintock
Date Aug. 8, 2012, 8:56 p.m.
Message ID <1344459377-7717-1-git-send-email-msm@freescale.com>
Download mbox | patch
Permalink /patch/34099/
State Accepted
Commit 3bb5223270249c26baa9b1882f12f22a156c8552
Headers show

Comments

Matthew McClintock - Aug. 8, 2012, 8:56 p.m.
Signed-off-by: Matthew McClintock <msm@freescale.com>
---
 .../recipes-support/strongswan/strongswan_5.0.0.bb |   10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

Patch

diff --git a/meta-oe/recipes-support/strongswan/strongswan_5.0.0.bb b/meta-oe/recipes-support/strongswan/strongswan_5.0.0.bb
index 189cfa3..52c8bec 100644
--- a/meta-oe/recipes-support/strongswan/strongswan_5.0.0.bb
+++ b/meta-oe/recipes-support/strongswan/strongswan_5.0.0.bb
@@ -5,6 +5,7 @@  SECTION = "console/network"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 DEPENDS = "gmp openssl flex-native flex bison-native"
+PR = "r1"
 
 SRC_URI = "http://download.strongswan.org/strongswan-${PV}.tar.bz2"
 SRC_URI[md5sum] = "c8b861305def7c0abae04f7bbefec212"
@@ -18,4 +19,11 @@  inherit autotools
 
 RRECOMMENDS_${PN} = "kernel-module-ipsec"
 
-FILES_${PN}-dbg += "${libexecdir}/ipsec/.debug ${libexecdir}/ipsec/plugins/.debug"
+PACKAGES += "${PN}-plugins"
+FILES_${PN} += "${libdir}/ipsec/lib*${SOLIBS}"
+FILES_${PN}-dev += "${libdir}/ipsec/lib*${SOLIBSDEV} ${libdir}/ipsec/*.la"
+FILES_${PN}-staticdev += "${libdir}/ipsec/*.a"
+FILES_${PN}-dbg += "${libdir}/ipsec/.debug ${libdir}/ipsec/plugins/.debug ${libexecdir}/ipsec/.debug"
+FILES_${PN}-plugins += "${libdir}/ipsec/plugins/*"
+
+INSANE_SKIP_${PN}-plugins = "staticdev"