summaryrefslogtreecommitdiff
path: root/packages/networkmanager
diff options
context:
space:
mode:
authorGraeme Gregory <dp@xora.org.uk>2007-07-24 12:36:52 +0000
committerGraeme Gregory <dp@xora.org.uk>2007-07-24 12:36:52 +0000
commite7d2d9c5afc7d1dc257ed4b6eceabb31f310ac7c (patch)
treef5c8c6a3195b01268a0840925bbf67a6ce7978a3 /packages/networkmanager
parentd0cec254188499c297c3b0fb12699b9be307b18c (diff)
networkmanager_svn.bb : stolen from poky
Diffstat (limited to 'packages/networkmanager')
-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"