summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-07-24 13:11:35 +0000
committerKoen Kooi <koen@openembedded.org>2007-07-24 13:11:35 +0000
commit5822e102ca298cffc468fc9766f5a4e3ce0f4eb8 (patch)
treee46b594ed38edbc164a5d0ef2a30fd61b5ec43fb /packages
parentd50a2a8c2a641ab0987c3ca6dc0074ef07d9f4d5 (diff)
networkmanager: fix packaging and QA issues
Diffstat (limited to 'packages')
-rw-r--r--packages/networkmanager/networkmanager_svn.bb26
1 files changed, 15 insertions, 11 deletions
diff --git a/packages/networkmanager/networkmanager_svn.bb b/packages/networkmanager/networkmanager_svn.bb
index 508002e724..604af0a729 100644
--- a/packages/networkmanager/networkmanager_svn.bb
+++ b/packages/networkmanager/networkmanager_svn.bb
@@ -25,7 +25,7 @@ EXTRA_OECONF = " \
S = "${WORKDIR}/NETWORKMANAGER_0_6_0_RELEASE"
-inherit autotools
+inherit autotools pkgconfig
do_staging () {
autotools_stage_includes
@@ -45,22 +45,26 @@ do_install () {
install -d ${D}/${datadir}/
}
-pkg_postinst () {
- /etc/init.d/populate-volatile.sh update
+pkg_postinst_${PN} () {
+if [ "x$D" != "x" ]; then
+ exit 1
+fi
+/etc/init.d/populate-volatile.sh update
}
+PACKAGES =+ "libnmutil libnmglib"
+
+FILES_libnmutil += "${libdir}/libnm-util.so.*"
+FILES_libnmglib += "${libdir}/libnm_glib.so.*"
+
FILES_${PN} += "${datadir} \
- ${libdir}/*.so* \
- ${libdir}/*.la \
- ${sbindir} \
- ${bindir} \
+ ${sbindir}/* \
+ ${bindir}/* \
${sysconfdir} \
${libexecdir}"
-FILES_${PN}-dev = "${incdir} \
+FILES_${PN}-dev += "${incdir} \
${libdir}/*.a \
+ ${libdir}/*.la \
${libdir}/pkgconfig"
-# The networkmanager package needs to be split into app/lib/dev packages. For
-# now, silence insane.
-INSANE_SKIP_${PN} = "1"