netsnmp: handle libnl dependency properly
[buildroot-gz.git] / package / modem-manager / modem-manager.mk
blobc74c22438782dd6af7c8729ce8e0bb14483246c3
1 ################################################################################
3 # modem-manager
5 ################################################################################
7 MODEM_MANAGER_VERSION = 1.6.2
8 MODEM_MANAGER_SOURCE = ModemManager-$(MODEM_MANAGER_VERSION).tar.xz
9 MODEM_MANAGER_SITE = http://www.freedesktop.org/software/ModemManager
10 MODEM_MANAGER_LICENSE = GPLv2+ (programs, plugins), LGPLv2+ (libmm-glib)
11 MODEM_MANAGER_LICENSE_FILES = COPYING
12 MODEM_MANAGER_DEPENDENCIES = host-pkgconf udev dbus-glib host-intltool libgudev
13 MODEM_MANAGER_INSTALL_STAGING = YES
15 ifeq ($(BR2_PACKAGE_MODEM_MANAGER_LIBQMI),y)
16 MODEM_MANAGER_DEPENDENCIES += libqmi
17 MODEM_MANAGER_CONF_OPTS += --with-qmi
18 else
19 MODEM_MANAGER_CONF_OPTS += --without-qmi
20 endif
22 ifeq ($(BR2_PACKAGE_MODEM_MANAGER_LIBMBIM),y)
23 MODEM_MANAGER_DEPENDENCIES += libmbim
24 MODEM_MANAGER_CONF_OPTS += --with-mbim
25 else
26 MODEM_MANAGER_CONF_OPTS += --without-mbim
27 endif
29 define MODEM_MANAGER_INSTALL_INIT_SYSV
30 $(INSTALL) -m 0755 -D package/modem-manager/S44modem-manager \
31 $(TARGET_DIR)/etc/init.d/S44modem-manager
32 endef
34 $(eval $(autotools-package))