2013-12-04 10:55:04 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# modem-manager
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2015-07-18 23:24:45 +02:00
|
|
|
MODEM_MANAGER_VERSION = 1.4.10
|
2013-12-04 10:55:04 +01:00
|
|
|
MODEM_MANAGER_SOURCE = ModemManager-$(MODEM_MANAGER_VERSION).tar.xz
|
2014-07-31 10:46:58 +02:00
|
|
|
MODEM_MANAGER_SITE = http://www.freedesktop.org/software/ModemManager
|
2013-12-04 10:55:04 +01:00
|
|
|
MODEM_MANAGER_LICENSE = GPLv2+ (programs, plugins), LGPLv2+ (libmm-glib)
|
|
|
|
MODEM_MANAGER_LICENSE_FILES = COPYING
|
|
|
|
MODEM_MANAGER_DEPENDENCIES = host-pkgconf udev dbus-glib host-intltool
|
2014-03-13 16:26:37 +01:00
|
|
|
MODEM_MANAGER_INSTALL_STAGING = YES
|
2013-12-04 10:55:04 +01:00
|
|
|
|
2015-09-11 09:09:47 +02:00
|
|
|
ifeq ($(BR2_INIT_SYSTEMD),y)
|
|
|
|
MODEM_MANAGER_DEPENDENCIES += libgudev
|
|
|
|
endif
|
|
|
|
|
2013-12-04 10:55:04 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_MODEM_MANAGER_LIBQMI),y)
|
2015-03-31 09:21:57 +02:00
|
|
|
MODEM_MANAGER_DEPENDENCIES += libqmi
|
|
|
|
MODEM_MANAGER_CONF_OPTS += --with-qmi
|
2013-12-04 10:55:04 +01:00
|
|
|
else
|
2015-03-31 09:21:57 +02:00
|
|
|
MODEM_MANAGER_CONF_OPTS += --without-qmi
|
2013-12-04 10:55:04 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_MODEM_MANAGER_LIBMBIM),y)
|
2015-03-31 09:21:57 +02:00
|
|
|
MODEM_MANAGER_DEPENDENCIES += libmbim
|
|
|
|
MODEM_MANAGER_CONF_OPTS += --with-mbim
|
2013-12-04 10:55:04 +01:00
|
|
|
else
|
2015-03-31 09:21:57 +02:00
|
|
|
MODEM_MANAGER_CONF_OPTS += --without-mbim
|
2013-12-04 10:55:04 +01:00
|
|
|
endif
|
|
|
|
|
2015-07-01 22:11:12 +02:00
|
|
|
define MODEM_MANAGER_INSTALL_INIT_SYSV
|
|
|
|
$(INSTALL) -m 0755 -D package/modem-manager/S44modem-manager \
|
|
|
|
$(TARGET_DIR)/etc/init.d/S44modem-manager
|
|
|
|
endef
|
|
|
|
|
2013-12-04 10:55:04 +01:00
|
|
|
$(eval $(autotools-package))
|