Patchwork [meta-oe,6/7] net-snmp: move static libs onto ${PN}-staticdev

login
register
mail settings
Submitter Otavio Salvador
Date Feb. 17, 2012, 5:42 p.m.
Message ID <cde9b7fd463366d116e258eda12434707644ae86.1329500480.git.otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/21365/
State Accepted
Commit 5fdcce5941e25e220783e7f5fdcca47897f9c639
Headers show

Comments

Otavio Salvador - Feb. 17, 2012, 5:42 p.m.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 meta-oe/recipes-extended/net-snmp/net-snmp.inc |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

Patch

diff --git a/meta-oe/recipes-extended/net-snmp/net-snmp.inc b/meta-oe/recipes-extended/net-snmp/net-snmp.inc
index c202751..66dac43 100644
--- a/meta-oe/recipes-extended/net-snmp/net-snmp.inc
+++ b/meta-oe/recipes-extended/net-snmp/net-snmp.inc
@@ -7,7 +7,7 @@  RDEPENDS_${PN}-server += "net-snmp-mibs"
 RDEPENDS_${PN}-client += "net-snmp-mibs"
 RDEPENDS_${PN}-dev = "net-snmp-client (= ${EXTENDPV}) net-snmp-server (= ${EXTENDPV})"
 RRECOMMENDS_${PN}-dbg = "net-snmp-client (= ${EXTENDPV}) net-snmp-server (= ${EXTENDPV})"
-INC_PR = "r1"
+INC_PR = "r2"
 
 inherit autotools update-rc.d siteinfo
 
@@ -36,11 +36,10 @@  do_install_append() {
 		-i ${STAGING_BINDIR}/net-snmp-config
 }
 
-PACKAGES = "net-snmp-dbg net-snmp-doc net-snmp-dev net-snmp-static net-snmp-libs \
+PACKAGES = "net-snmp-dbg net-snmp-doc net-snmp-dev net-snmp-staticdev net-snmp-static net-snmp-libs \
             net-snmp-mibs net-snmp-server net-snmp-client"
 
-FILES_${PN}-static = "${libdir}/*.a"
-FILES_${PN}-libs = "${libdir}/*"
+FILES_${PN}-libs = "${libdir}/lib*${SOLIBS}"
 FILES_${PN}-mibs = "${datadir}/snmp/mibs"
 FILES_${PN}-server = "${sbindir}/* ${sysconfdir}"
 FILES_${PN}-client = "${bindir}/* ${datadir}/snmp/"