aboutsummaryrefslogtreecommitdiff
path: root/package/libmbim/libmbim.mk
blob: 748d215537508b2fc4d48acb87a108591dc6ecff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
################################################################################
#
# libmbim
#
################################################################################

LIBMBIM_VERSION = 1.18.0
LIBMBIM_SITE = https://www.freedesktop.org/software/libmbim
LIBMBIM_SOURCE = libmbim-$(LIBMBIM_VERSION).tar.xz
LIBMBIM_LICENSE = LGPL-2.0+ (library), GPL-2.0+ (programs)
LIBMBIM_LICENSE_FILES = COPYING COPYING.LIB
LIBMBIM_INSTALL_STAGING = YES

LIBMBIM_DEPENDENCIES = libglib2

# we don't want -Werror
LIBMBIM_CONF_OPTS = --enable-more-warnings=no

# if libgudev available, request udev support
ifeq ($(BR2_PACKAGE_LIBGUDEV),y)
LIBMBIM_DEPENDENCIES += libgudev
LIBMBIM_CONF_OPTS += --with-udev
else
LIBMBIM_CONF_OPTS += --without-udev
endif

$(eval $(autotools-package))