diff options
author | Ross Burton <ross@openedhand.com> | 2007-09-24 10:36:01 +0000 |
---|---|---|
committer | Ross Burton <ross@openedhand.com> | 2007-09-24 10:36:01 +0000 |
commit | c41fcd67094b0b50dd45bd18e682707f76229204 (patch) | |
tree | e63763c9546994c36474ed6a635dcf4fd9044935 | |
parent | 2aaaeda2b034c267632938b7b09489ac672a3206 (diff) | |
download | openembedded-core-c41fcd67094b0b50dd45bd18e682707f76229204.tar.gz openembedded-core-c41fcd67094b0b50dd45bd18e682707f76229204.tar.bz2 openembedded-core-c41fcd67094b0b50dd45bd18e682707f76229204.zip |
networkmanager: Add staging, and split packages like OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2774 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r-- | meta-extras/packages/networkmanager/networkmanager_svn.bb | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/meta-extras/packages/networkmanager/networkmanager_svn.bb b/meta-extras/packages/networkmanager/networkmanager_svn.bb index 4106bcd047..cb3f72e2e6 100644 --- a/meta-extras/packages/networkmanager/networkmanager_svn.bb +++ b/meta-extras/packages/networkmanager/networkmanager_svn.bb @@ -5,7 +5,9 @@ HOMEPAGE = "http://www.gnome.org" PRIORITY = "optional" DEPENDS = "libnl dbus dbus-glib hal gconf-dbus wireless-tools ppp" RDEPENDS = "hal wpa-supplicant iproute2" + PV = "0.7+svn${SRCDATE}" +PR = "r1" SRC_URI="svn://svn.gnome.org/svn/NetworkManager/;module=trunk;proto=http \ file://build-fixes.diff;patch=1;pnum=0 \ @@ -21,8 +23,6 @@ S = "${WORKDIR}/trunk" inherit autotools pkgconfig -# TODO: stage - do_install_append () { install -d ${D}/etc/default/volatiles install -m 0644 ${WORKDIR}/99_networkmanager ${D}/etc/default/volatiles @@ -30,11 +30,22 @@ do_install_append () { install -m 0755 ${WORKDIR}/25NetworkManager ${D}/etc/dbus-1/event.d } +do_stage () { + autotools_stage_all +} + pkg_postinst () { - /etc/init.d/populate-volatile.sh update + if [ "x$D" != "x" ]; then + exit 1 + fi + /etc/init.d/populate-volatile.sh update } -FILES_${PN} += "${libdir}/*.so." +PACKAGES =+ "libnmutil libnmglib" + +FILES_libnmutil += "${libdir}/libnm-util.so.*" + +FILES_libnmglib += "${libdir}/libnm_glib.so.*" FILES_${PN}-dev = "${includedir}/* \ ${libdir}/*.so \ |