Patchwork msgpack: new package

login
register
mail settings
Submitter Simon Dawson
Date June 30, 2013, 7:16 p.m.
Message ID <1372619817-24115-1-git-send-email-spdawson@gmail.com>
Download mbox | patch
Permalink /patch/255936/
State Accepted
Commit a20fc5ae2b416067afc64ccb9b99a27266f9b13a
Headers show

Comments

Simon Dawson - June 30, 2013, 7:16 p.m.
From: Simon Dawson <spdawson@gmail.com>

Signed-off-by: Simon Dawson <spdawson@gmail.com>
---
 package/Config.in          |  1 +
 package/msgpack/Config.in  | 13 +++++++++++++
 package/msgpack/msgpack.mk | 12 ++++++++++++
 3 files changed, 26 insertions(+)
 create mode 100644 package/msgpack/Config.in
 create mode 100644 package/msgpack/msgpack.mk
Peter Korsgaard - July 2, 2013, 9 p.m.
>>>>> "spdawson" == spdawson  <spdawson@gmail.com> writes:

 spdawson> From: Simon Dawson <spdawson@gmail.com>
 spdawson> Signed-off-by: Simon Dawson <spdawson@gmail.com>

Committed, thanks.

Patch

diff --git a/package/Config.in b/package/Config.in
index ebeabeb..5613bd1 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -622,6 +622,7 @@  source "package/log4cxx/Config.in"
 source "package/lttng-libust/Config.in"
 source "package/mpc/Config.in"
 source "package/mpfr/Config.in"
+source "package/msgpack/Config.in"
 source "package/mtdev2tuio/Config.in"
 source "package/orc/Config.in"
 source "package/p11-kit/Config.in"
diff --git a/package/msgpack/Config.in b/package/msgpack/Config.in
new file mode 100644
index 0000000..7f28eaf
--- /dev/null
+++ b/package/msgpack/Config.in
@@ -0,0 +1,13 @@ 
+config BR2_PACKAGE_MSGPACK
+	bool "msgpack"
+	depends on BR2_INSTALL_LIBSTDCPP
+	help
+	  MessagePack is an efficient binary serialization format.
+
+	  It lets you exchange data among multiple languages like JSON but
+	  it's faster and smaller.
+
+	  http://msgpack.org/
+
+comment "msgpack requires a toolchain with C++ support enabled"
+	depends on !BR2_INSTALL_LIBSTDCPP
diff --git a/package/msgpack/msgpack.mk b/package/msgpack/msgpack.mk
new file mode 100644
index 0000000..c77729f
--- /dev/null
+++ b/package/msgpack/msgpack.mk
@@ -0,0 +1,12 @@ 
+################################################################################
+#
+# msgpack
+#
+################################################################################
+
+MSGPACK_VERSION = 0.5.4
+MSGPACK_SITE = http://downloads.sourceforge.net/project/msgpack/msgpack/cpp/
+MSGPACK_LICENSE = Apache-2.0
+MSGPACK_LICENSE_FILES = COPYING
+
+$(eval $(autotools-package))