2009-12-03 16:17:07 +00:00
HOMEPAGE = " http://www.ofono.org "
SUMMARY = " open source telephony "
2010-09-28 14:30:42 +00:00
DESCRIPTION = " oFono is a stack for mobile telephony devices on Linux. oFono supports speaking to telephony devices through specific drivers, or with generic AT commands. "
2010-11-25 05:52:23 +00:00
LICENSE = " GPLv2 "
LIC_FILES_CHKSUM = " file://COPYING;md5=eb723b61539feef013de476e68b5c50a \
2011-12-23 06:24:03 +00:00
file :// src / ofono . h ; beginline = 1 ; endline = 20 ; md5 = 3 ce17d5978ef3445def265b98899c2ee "
2009-12-03 16:17:07 +00:00
2010-04-26 16:41:05 +00:00
inherit autotools pkgconfig update - rc . d
2009-12-03 16:17:07 +00:00
2012-01-22 08:30:14 +00:00
DEPENDS = " dbus glib-2.0 udev mobile-broadband-provider-info $ { @base_contains('DISTRO_FEATURES', 'bluetooth','bluez4', '', d)} "
2009-12-17 16:24:27 +00:00
2009-12-03 16:17:07 +00:00
INITSCRIPT_NAME = " ofono "
INITSCRIPT_PARAMS = " defaults 22 "
do_install_append () {
install - d $ { D } $ { sysconfdir } / init . d /
install - m 0755 $ { WORKDIR } / ofono $ { D } $ { sysconfdir } / init . d / ofono
}
2011-11-24 23:04:13 +00:00
PACKAGES =+ " ${ PN } -tests "
2012-08-31 10:34:51 +00:00
RDEPENDS_ $ { PN } += " dbus "
2012-03-22 11:05:59 +00:00
FILES_ $ { PN } += " ${ base_libdir } /udev ${ systemd_unitdir } "
2011-11-24 23:04:13 +00:00
FILES_ $ { PN } - tests = " ${ libdir } /ofono "
2012-05-15 00:10:34 +00:00
RDEPENDS_ $ { PN } - tests = " python python-pygobject "