2013-12-04 10:55:04 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# modem-manager
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2017-02-27 15:32:13 +01:00
|
|
|
MODEM_MANAGER_VERSION = 1.6.4
|
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
|
2017-03-30 15:43:37 +02:00
|
|
|
MODEM_MANAGER_LICENSE = GPL-2.0+ (programs, plugins), LGPL-2.0+ (libmm-glib)
|
2013-12-04 10:55:04 +01:00
|
|
|
MODEM_MANAGER_LICENSE_FILES = COPYING
|
2015-12-02 12:27:06 +01:00
|
|
|
MODEM_MANAGER_DEPENDENCIES = host-pkgconf udev dbus-glib host-intltool libgudev
|
2014-03-13 16:26:37 +01:00
|
|
|
MODEM_MANAGER_INSTALL_STAGING = YES
|
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))
|