summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-07-24 12:47:13 +0000
committerKoen Kooi <koen@openembedded.org>2007-07-24 12:47:13 +0000
commitd50a2a8c2a641ab0987c3ca6dc0074ef07d9f4d5 (patch)
tree99fabe8d3d1f5bcdb95324134dfa35045a305f25
parent32812c3db0c4ad73c5f240a4eced1f46f4dfaa70 (diff)
parent2291afee142580fe99e9a3caa7c0521de3d1e7a2 (diff)
merge of '49620a480a3c8deee05068287aa90bf723508c27'
and 'b8722b34f06f673d698f22dd82b3b225392cfdfb'
-rw-r--r--packages/networkmanager/networkmanager_svn.bb66
1 files changed, 66 insertions, 0 deletions
diff --git a/packages/networkmanager/networkmanager_svn.bb b/packages/networkmanager/networkmanager_svn.bb
new file mode 100644
index 0000000000..508002e724
--- /dev/null
+++ b/packages/networkmanager/networkmanager_svn.bb
@@ -0,0 +1,66 @@
+DESCRIPTION = "NetworkManager"
+SECTION = "net/misc"
+LICENSE = "GPL"
+HOMEPAGE = "http://www.gnome.org"
+PRIORITY = "optional"
+DEPENDS = "libnl dbus dbus-glib hal gconf-dbus wireless-tools"
+RDEPENDS = "wpa-supplicant iproute2 dhcdbd"
+PV = "0.6.5+svn${SRCDATE}"
+
+PR = "r0"
+
+SRC_URI="svn://svn.gnome.org/svn/NetworkManager/branches;module=NETWORKMANAGER_0_6_0_RELEASE;proto=http \
+ file://NetworkManager \
+ file://99_networkmanager"
+
+DEFAULT_PREFERENCE = "-1"
+
+EXTRA_OECONF = " \
+ --with-gnome \
+ --with-distro=debian \
+ --without-gcrypt \
+ --with-wpa_supplicant=/usr/sbin/wpa_supplicant \
+ --with-dhcdbd=/sbin/dhcdbd \
+ --with-ip=/sbin/ip"
+
+S = "${WORKDIR}/NETWORKMANAGER_0_6_0_RELEASE"
+
+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
+ 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}/
+}
+
+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"
+
+# The networkmanager package needs to be split into app/lib/dev packages. For
+# now, silence insane.
+INSANE_SKIP_${PN} = "1"