summaryrefslogtreecommitdiff
path: root/recipes/networkmanager/networkmanager_0.6.4.bb
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/networkmanager/networkmanager_0.6.4.bb
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/networkmanager/networkmanager_0.6.4.bb')
-rw-r--r--recipes/networkmanager/networkmanager_0.6.4.bb66
1 files changed, 66 insertions, 0 deletions
diff --git a/recipes/networkmanager/networkmanager_0.6.4.bb b/recipes/networkmanager/networkmanager_0.6.4.bb
new file mode 100644
index 0000000000..737d9544d0
--- /dev/null
+++ b/recipes/networkmanager/networkmanager_0.6.4.bb
@@ -0,0 +1,66 @@
+DESCRIPTION = "GNOME NetworkManager port"
+SECTION = "network/misc"
+LICENSE = "GPL"
+HOMEPAGE = "http://www.gnome.org"
+PRIORITY = "optional"
+DEPENDS = "libnl dbus dbus-glib libhal-nm libgpewidget gnome-keyring gconf-dbus wireless-tools libglade"
+RDEPENDS = "wpa-supplicant iproute2 dhcdbd gnome-keyring hicolor-icon-theme"
+
+PR = "r5"
+
+SRC_URI="http://www.handhelds.org/~mmp/files/NetworkManager-${PV}-gpe.tar.gz \
+ file://dbus-api-fix.patch;patch=1 \
+ file://dbus-1.0-fix.patch;patch=1 \
+ file://99_networkmanager \
+ file://NetworkManager \
+ file://nm-applet.desktop"
+
+EXTRA_OECONF = " \
+ --without-gnome \
+ --with-gpe \
+ --with-distro=debian \
+ --without-gcrypt \
+ --with-wpa_supplicant=/usr/sbin/wpa_supplicant \
+ --disable-hal \
+ --with-dhcdbd=/sbin/dhcdbd"
+
+S = "${WORKDIR}/NetworkManager-${PV}"
+
+inherit autotools
+
+do_staging () {
+ autotools_stage_includes
+ oe_libinstall -C libnm-util libnm-util ${STAGING_LIBDIR}
+ oe_libinstall gnome/libnm_glib libnm_glib ${STAGING_LIBDIR}
+}
+
+do_install () {
+ oe_libinstall -C libnm-util libnm-util ${D}/usr/lib
+ oe_libinstall -C gnome/libnm_glib libnm_glib ${D}/usr/lib
+
+ oe_runmake -C src DESTDIR="${D}" install
+ oe_runmake -C gnome/applet DESTDIR="${D}" install
+ install -d ${D}/etc/default/volatiles
+ install -m 0644 ${WORKDIR}/99_networkmanager ${D}/etc/default/volatiles
+ install -d ${D}/etc/init.d/
+ install -m 0755 ${WORKDIR}/NetworkManager ${D}/etc/init.d/
+ install -d ${D}/${datadir}/
+ install -m 0755 ${WORKDIR}/nm-applet.desktop ${D}/${datadir}/
+}
+
+pkg_postinst () {
+ /etc/init.d/populate-volatile.sh update
+}
+
+FILES_${PN} += "${datadir} \
+ ${libdir}/*.so* \
+ ${libdir}/*.la \
+ ${sbindir} \
+ ${bindir} \
+ ${sysconfdir} \
+ ${libexecdir}"
+
+FILES_${PN}-dev = "${incdir} \
+ ${libdir}/*.a \
+ ${libdir}/pkgconfig"
+