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 /meta-extras | |
parent | 2aaaeda2b034c267632938b7b09489ac672a3206 (diff) | |
download | poky-c41fcd67094b0b50dd45bd18e682707f76229204.tar.gz |
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
Diffstat (limited to 'meta-extras')
-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" | |||
5 | PRIORITY = "optional" | 5 | PRIORITY = "optional" |
6 | DEPENDS = "libnl dbus dbus-glib hal gconf-dbus wireless-tools ppp" | 6 | DEPENDS = "libnl dbus dbus-glib hal gconf-dbus wireless-tools ppp" |
7 | RDEPENDS = "hal wpa-supplicant iproute2" | 7 | RDEPENDS = "hal wpa-supplicant iproute2" |
8 | |||
8 | PV = "0.7+svn${SRCDATE}" | 9 | PV = "0.7+svn${SRCDATE}" |
10 | PR = "r1" | ||
9 | 11 | ||
10 | SRC_URI="svn://svn.gnome.org/svn/NetworkManager/;module=trunk;proto=http \ | 12 | SRC_URI="svn://svn.gnome.org/svn/NetworkManager/;module=trunk;proto=http \ |
11 | file://build-fixes.diff;patch=1;pnum=0 \ | 13 | file://build-fixes.diff;patch=1;pnum=0 \ |
@@ -21,8 +23,6 @@ S = "${WORKDIR}/trunk" | |||
21 | 23 | ||
22 | inherit autotools pkgconfig | 24 | inherit autotools pkgconfig |
23 | 25 | ||
24 | # TODO: stage | ||
25 | |||
26 | do_install_append () { | 26 | do_install_append () { |
27 | install -d ${D}/etc/default/volatiles | 27 | install -d ${D}/etc/default/volatiles |
28 | install -m 0644 ${WORKDIR}/99_networkmanager ${D}/etc/default/volatiles | 28 | install -m 0644 ${WORKDIR}/99_networkmanager ${D}/etc/default/volatiles |
@@ -30,11 +30,22 @@ do_install_append () { | |||
30 | install -m 0755 ${WORKDIR}/25NetworkManager ${D}/etc/dbus-1/event.d | 30 | install -m 0755 ${WORKDIR}/25NetworkManager ${D}/etc/dbus-1/event.d |
31 | } | 31 | } |
32 | 32 | ||
33 | do_stage () { | ||
34 | autotools_stage_all | ||
35 | } | ||
36 | |||
33 | pkg_postinst () { | 37 | pkg_postinst () { |
34 | /etc/init.d/populate-volatile.sh update | 38 | if [ "x$D" != "x" ]; then |
39 | exit 1 | ||
40 | fi | ||
41 | /etc/init.d/populate-volatile.sh update | ||
35 | } | 42 | } |
36 | 43 | ||
37 | FILES_${PN} += "${libdir}/*.so." | 44 | PACKAGES =+ "libnmutil libnmglib" |
45 | |||
46 | FILES_libnmutil += "${libdir}/libnm-util.so.*" | ||
47 | |||
48 | FILES_libnmglib += "${libdir}/libnm_glib.so.*" | ||
38 | 49 | ||
39 | FILES_${PN}-dev = "${includedir}/* \ | 50 | FILES_${PN}-dev = "${includedir}/* \ |
40 | ${libdir}/*.so \ | 51 | ${libdir}/*.so \ |