summaryrefslogtreecommitdiffstats
path: root/meta/packages/connman/connman_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/connman/connman_git.bb')
-rw-r--r--meta/packages/connman/connman_git.bb48
1 files changed, 48 insertions, 0 deletions
diff --git a/meta/packages/connman/connman_git.bb b/meta/packages/connman/connman_git.bb
new file mode 100644
index 0000000000..e8ad21ef98
--- /dev/null
+++ b/meta/packages/connman/connman_git.bb
@@ -0,0 +1,48 @@
1HOMEPAGE = "http://www.moblin.org/projects/projects_connman.php"
2SUMMARY = "Moblin Connection Manager"
3PV = "0.0+git${SRCREV}"
4PR = "r4"
5S = "${WORKDIR}/git"
6LICENSE = "GPL"
7
8DEPENDS = "libgdbus dbus glib-2.0 hal"
9RDEPENDS = "dhcp-client wpa-supplicant resolvconf"
10
11EXTRA_OECONF += " \
12 ac_cv_path_WPASUPPLICANT=/usr/sbin/wpa_supplicant \
13 ac_cv_path_DHCLIENT=/sbin/dhclient "
14
15SRC_URI = "git://moblin.org/repos/projects/connman.git;protocol=http \
16 file://connman "
17
18INITSCRIPT_NAME = "connman"
19INITSCRIPT_PARAMS = "defaults 22"
20
21inherit autotools pkgconfig update-rc.d
22
23do_install_append() {
24 install -m 0755 ${WORKDIR}/connman ${D}${sysconfdir}/init.d/connman
25}
26
27PACKAGES_DYNAMIC = "${PN}-plugin-*"
28PACKAGES += "${PN}-script-dhclient"
29FILES_${PN} = "${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*.so.* \
30 ${sysconfdir} ${sharedstatedir} ${localstatedir} \
31 ${base_bindir}/* ${base_sbindir}/* ${base_libdir}/*.so* ${datadir}/${PN} \
32 ${datadir}/pixmaps ${datadir}/applications \
33 ${datadir}/idl ${datadir}/omf ${datadir}/sounds \
34 ${libdir}/bonobo/servers \
35 ${datadir}/dbus-1/system-services/*"
36FILES_${PN}-script-dhclient += "${libdir}/connman/scripts/dhclient*"
37FILES_${PN}-dbg += "${libdir}/connman/plugins/.debug \
38 ${libdir}/connman/scripts/.debug"
39
40python populate_packages_prepend() {
41 plugin_dir = bb.data.expand('${libdir}/connman/plugins/', d)
42 plugin_name = bb.data.expand('${PN}-plugin-%s', d)
43 do_split_packages(d, plugin_dir, '^lib(.*).so$', plugin_name, '${PN} plugin for %s', extra_depends='' )
44}
45
46do_stage() {
47 autotools_stage_all
48}