aboutsummaryrefslogtreecommitdiff
path: root/package/libmbim
diff options
context:
space:
mode:
authorGravatar Yegor Yefremov <yegorslists@googlemail.com>2013-12-04 10:55:03 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2013-12-06 10:29:49 +0100
commit1f614fc415306c1f9b184efa3a9db0abdb8a54d9 (patch)
tree34ad19adc6e7e805f24e1f3c0bbef7ce2ba51bbf /package/libmbim
parent6bfc9788ad46abdf7542a38e8ded6839f02b5d85 (diff)
downloadbuildroot-1f614fc415306c1f9b184efa3a9db0abdb8a54d9.tar.gz
buildroot-1f614fc415306c1f9b184efa3a9db0abdb8a54d9.tar.bz2
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>
Diffstat (limited to 'package/libmbim')
-rw-r--r--package/libmbim/Config.in17
-rw-r--r--package/libmbim/libmbim.mk19
2 files changed, 36 insertions, 0 deletions
diff --git a/package/libmbim/Config.in b/package/libmbim/Config.in
new file mode 100644
index 0000000000..ccc0f2504f
--- /dev/null
+++ b/package/libmbim/Config.in
@@ -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
diff --git a/package/libmbim/libmbim.mk b/package/libmbim/libmbim.mk
new file mode 100644
index 0000000000..e10d60ff9f
--- /dev/null
+++ b/package/libmbim/libmbim.mk
@@ -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))