diff options
author | Joshua Lock <josh@linux.intel.com> | 2009-12-03 16:15:26 +0000 |
---|---|---|
committer | Joshua Lock <josh@linux.intel.com> | 2009-12-17 17:41:46 +0000 |
commit | 5cd6d1080766027a2d30c0a3ca006e41f341c79c (patch) | |
tree | 9106131ae1b5bb9ed108e14ac381576b2e80b70d /meta/packages/connman/connman.inc | |
parent | 2aa6a8aaf71166fba002ea5704a466d85792151c (diff) | |
download | poky-5cd6d1080766027a2d30c0a3ca006e41f341c79c.tar.gz |
connman: Updates and a recipe for the latest release
Split much of the recipe into connman.inc and created a recipe for the
latest 0.47 release.
Update the fixed revision and dropped unneeded patches.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Diffstat (limited to 'meta/packages/connman/connman.inc')
-rw-r--r-- | meta/packages/connman/connman.inc | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/meta/packages/connman/connman.inc b/meta/packages/connman/connman.inc new file mode 100644 index 0000000000..e7fde858b8 --- /dev/null +++ b/meta/packages/connman/connman.inc | |||
@@ -0,0 +1,43 @@ | |||
1 | HOMEPAGE = "http://www.moblin.org/projects/projects_connman.php" | ||
2 | SUMMARY = "Moblin Connection Manager" | ||
3 | LICENSE = "GPL" | ||
4 | |||
5 | DEPENDS = "libgdbus dbus glib-2.0 hal" | ||
6 | RDEPENDS_${PN} = "dhcp-client wpa-supplicant resolvconf" | ||
7 | |||
8 | EXTRA_OECONF += " \ | ||
9 | --enable-ethernet=builtin --enable-wifi=builtin --enable-dhclient=builtin \ | ||
10 | --enable-bluetooth=builtin --enable-udev --enable-loopback=builtin \ | ||
11 | --enable-dnsproxy=builtin --enable-threads --enable-resolvconf=builtin \ | ||
12 | --enable-client --enable-fake --with-dhclient=/sbin/dhclient \ | ||
13 | --enable-test \ | ||
14 | ac_cv_path_WPASUPPLICANT=/usr/sbin/wpa_supplicant" | ||
15 | |||
16 | INITSCRIPT_NAME = "connman" | ||
17 | INITSCRIPT_PARAMS = "start 05 5 2 . stop 22 0 1 6 ." | ||
18 | |||
19 | inherit autotools_stage pkgconfig update-rc.d | ||
20 | |||
21 | do_install_append() { | ||
22 | install -d ${D}${sysconfdir}/init.d/ | ||
23 | install -m 0755 ${WORKDIR}/connman ${D}${sysconfdir}/init.d/connman | ||
24 | } | ||
25 | |||
26 | PACKAGES_DYNAMIC = "${PN}-plugin-*" | ||
27 | FILES_${PN} = "${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*.so.* \ | ||
28 | ${sysconfdir} ${sharedstatedir} ${localstatedir} \ | ||
29 | ${base_bindir}/* ${base_sbindir}/* ${base_libdir}/*.so* ${datadir}/${PN} \ | ||
30 | ${datadir}/pixmaps ${datadir}/applications \ | ||
31 | ${datadir}/idl ${datadir}/omf ${datadir}/sounds \ | ||
32 | ${libdir}/bonobo/servers \ | ||
33 | ${libdir}/${PN}/test/* \ | ||
34 | ${datadir}/dbus-1/system-services/* \ | ||
35 | ${libdir}/connman/scripts/dhclient*" | ||
36 | FILES_${PN}-dbg += "${libdir}/connman/plugins/.debug \ | ||
37 | ${libdir}/connman/scripts/.debug" | ||
38 | |||
39 | python populate_packages_prepend() { | ||
40 | plugin_dir = bb.data.expand('${libdir}/connman/plugins/', d) | ||
41 | plugin_name = bb.data.expand('${PN}-plugin-%s', d) | ||
42 | do_split_packages(d, plugin_dir, '^lib(.*).so$', plugin_name, '${PN} plugin for %s', extra_depends='' ) | ||
43 | } \ No newline at end of file | ||