summaryrefslogtreecommitdiff
path: root/recipes/networkmanager/networkmanager_0.8.bb
diff options
context:
space:
mode:
authorGraeme Gregory <dp@xora.org.uk>2010-02-23 10:38:45 +0000
committerGraeme Gregory <dp@xora.org.uk>2010-02-23 10:38:45 +0000
commitf13a3b6d012339095551c5f930382fee6e5dd2af (patch)
treeea2ee840eb61d97604861f26d0b7b75f63c6df1f /recipes/networkmanager/networkmanager_0.8.bb
parentc079ec93e26348788b94b0e6c4ebb6ddc59d7342 (diff)
networkmanager_0.8.bb : add new version
Diffstat (limited to 'recipes/networkmanager/networkmanager_0.8.bb')
-rw-r--r--recipes/networkmanager/networkmanager_0.8.bb35
1 files changed, 35 insertions, 0 deletions
diff --git a/recipes/networkmanager/networkmanager_0.8.bb b/recipes/networkmanager/networkmanager_0.8.bb
new file mode 100644
index 0000000000..96f635a2bb
--- /dev/null
+++ b/recipes/networkmanager/networkmanager_0.8.bb
@@ -0,0 +1,35 @@
+require networkmanager-0.7.inc
+
+DEFAULT_PREFERENCE = "-1"
+
+PR = "r3"
+
+SRC_URI += " \
+ file://remove-gtk-doc-make.patch;patch=1 \
+ file://nm-system-settings.conf \
+ file://NetworkManager \
+ file://gtk-doc.make \
+"
+
+
+do_configure_prepend() {
+ cp ${WORKDIR}/gtk-doc.make ${S}/
+ echo "EXTRA_DIST = version.xml" > gnome-doc-utils.make
+ sed -i -e 's:man \\:man:' -e s:docs::g ${S}/Makefile.am
+ sed -i -e /^docs/d ${S}/configure.ac
+}
+
+FILES_${PN} += " ${datadir}/polkit-1/"
+
+S = "${WORKDIR}/NetworkManager-${PV}"
+
+do_install_append () {
+ install -d ${D}/etc/NetworkManager/
+ install -m 0644 ${WORKDIR}/nm-system-settings.conf ${D}/etc/NetworkManager/
+ install -m 0755 ${WORKDIR}/NetworkManager ${D}/etc/init.d
+
+ # Install an empty VPN folder as nm-connection-editor will happily segfault without it :o.
+ # With or without VPN support built in ;).
+ install -d ${D}/etc/NetworkManager/VPN
+}
+