libmbim: add new package

[Peter: fixup license info as pointed out by Thomas]
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Yegor Yefremov 2013-12-04 10:55:03 +01:00 committed by Peter Korsgaard
parent 6bfc9788ad
commit 1f614fc415
3 changed files with 37 additions and 0 deletions

View file

@ -542,6 +542,7 @@ source "package/libfreefare/Config.in"
source "package/libftdi/Config.in"
source "package/libhid/Config.in"
source "package/libiqrf/Config.in"
source "package/libmbim/Config.in"
source "package/libnfc/Config.in"
source "package/libnfc-llcp/Config.in"
source "package/libqmi/Config.in"

17
package/libmbim/Config.in Normal file
View file

@ -0,0 +1,17 @@
config BR2_PACKAGE_LIBMBIM
bool "libmbim"
depends on BR2_USE_WCHAR # libglib2
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
depends on BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV
select BR2_PACKAGE_LIBGLIB2
select BR2_PACKAGE_UDEV_ALL_EXTRAS
help
libmbim is a glib-based library for talking to WWAN modems and
devices which speak the Mobile Interface Broadband Model (MBIM)
protocol.
http://www.freedesktop.org/wiki/Software/libmbim/
comment "libmbim needs udev and a toolchain w/ wchar, threads"
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
!BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV

View file

@ -0,0 +1,19 @@
################################################################################
#
# libmbim
#
################################################################################
LIBMBIM_VERSION = 1.4.0
LIBMBIM_SITE = http://www.freedesktop.org/software/libmbim/
LIBMBIM_SOURCE = libmbim-$(LIBMBIM_VERSION).tar.xz
LIBMBIM_LICENSE = LGPLv2+ (library), GPLv2+ (programs)
LIBMBIM_LICENSE_FILES = COPYING
LIBMBIM_INSTALL_STAGING = YES
LIBMBIM_DEPENDENCIES = libglib2 udev
# we don't want -Werror
LIBMBIM_CONF_OPT = --enable-more-warnings=no
$(eval $(autotools-package))