[Buildroot] [PATCH v2 1/1] msgpack: bump version to 2.1.5
Bradford Barr
bradford at density.io
Mon Sep 18 15:58:24 UTC 2017
From: bradford barr <bradford at density.io>
Modern versions of msgpack are hosted on Github. Msgpack switched their build
systems from autotools to cmake a while back. The licence was also updated from
Apache to Boost.
Signed-off-by: bradford barr <bradford at density.io>
---
package/msgpack/msgpack.hash | 2 +-
package/msgpack/msgpack.mk | 13 +++++++++----
2 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/package/msgpack/msgpack.hash b/package/msgpack/msgpack.hash
index 8cd8cb6..f1033ad 100644
--- a/package/msgpack/msgpack.hash
+++ b/package/msgpack/msgpack.hash
@@ -1,2 +1,2 @@
# Locally computed:
-sha256 97a371ef950c89f48e8dba6abeccab07f1887e9ba6dab921de0f985c7d5075fe msgpack-0.5.4.tar.gz
+sha256 9c87f80fc651b900772deaef0ab154b63160c74d292529b5be6d06d6485d4640 msgpack-2.1.5.tar.gz
diff --git a/package/msgpack/msgpack.mk b/package/msgpack/msgpack.mk
index 9e23948..66dbc8d 100644
--- a/package/msgpack/msgpack.mk
+++ b/package/msgpack/msgpack.mk
@@ -4,9 +4,14 @@
#
################################################################################
-MSGPACK_VERSION = 0.5.4
-MSGPACK_SITE = http://downloads.sourceforge.net/project/msgpack/msgpack/cpp
-MSGPACK_LICENSE = Apache-2.0
+MSGPACK_VERSION = 2.1.5
+MSGPACK_SITE = $(call github,msgpack,msgpack-c,cpp-$(MSGPACK_VERSION))
+MSGPACK_LICENSE = BSL-1.0
MSGPACK_LICENSE_FILES = COPYING
+MSGPACK_INSTALL_STAGING = YES
-$(eval $(autotools-package))
+define MSGPACK_INSTALL_TARGET_CMDS
+ cp -a $(@D)/libmsgpackc.so* $(TARGET_DIR)/usr/lib
+endef
+
+$(eval $(cmake-package))
--
2.9.3
More information about the buildroot
mailing list