summaryrefslogtreecommitdiff
path: root/packages/connman/connman.inc
diff options
context:
space:
mode:
authorMichael 'Mickey' Lauer <mickey@vanille-media.de>2009-01-28 02:41:01 +0100
committerMichael 'Mickey' Lauer <mickey@vanille-media.de>2009-01-28 02:41:01 +0100
commit70b5d01eac43181f4ab1444074bd7e4c174d5d71 (patch)
treeb1356473cf1a23f037d507235fe09730d932d463 /packages/connman/connman.inc
parent11ce1c84e98a594caf7b501d8428c06a42c8e3c7 (diff)
connman: fix include hickup, add ppp dependency
Diffstat (limited to 'packages/connman/connman.inc')
-rw-r--r--packages/connman/connman.inc11
1 files changed, 9 insertions, 2 deletions
diff --git a/packages/connman/connman.inc b/packages/connman/connman.inc
index 1aa803608c..902949a4d7 100644
--- a/packages/connman/connman.inc
+++ b/packages/connman/connman.inc
@@ -2,12 +2,15 @@ DESCRIPTION = "The Moblin Connection Manager"
HOMEPAGE = "http://www.moblin.org/projects/projects_connman.php"
SECTION = "libs/network"
LICENSE = "GPL"
-DEPENDS = "dbus glib-2.0"
+DEPENDS = "dbus glib-2.0 ppp"
EXTRA_OECONF += "\
ac_cv_path_WPASUPPLICANT=/usr/sbin/wpa_supplicant \
ac_cv_path_DHCLIENT=/sbin/dhclient \
- ac_cv_path_UDHCPC=/sbin/udhcpc"
+ ac_cv_path_UDHCPC=/sbin/udhcpc \
+ ac_cv_path_RESOLVCONF=/sbin/resolvconf \
+ ac_cv_path_PPPD=/usr/sbin/pppd \
+"
INITSCRIPT_NAME = "connman"
INITSCRIPT_PARAMS = "defaults 22"
@@ -16,6 +19,10 @@ PARALLEL_MAKE = ""
inherit autotools pkgconfig update-rc.d
+do_configure_append() {
+ ln -sf . include/connman
+}
+
do_install_append() {
install -m 0755 ${WORKDIR}/connman ${D}${sysconfdir}/init.d/connman
}