]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
lua-messagepack: new package
authorFrancois Perrad <fperrad@gmail.com>
Mon, 24 Feb 2014 07:34:55 +0000 (08:34 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 1 Mar 2014 15:22:41 +0000 (16:22 +0100)
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in
package/lua-messagepack/Config.in [new file with mode: 0644]
package/lua-messagepack/lua-messagepack.mk [new file with mode: 0644]

index 3b143c5a58773eb91ddaead5053fd1fc1e9ca3a2..cc407e1389c12bf09cbe5c0ea1cfe8583d8c05c3 100644 (file)
@@ -381,6 +381,7 @@ source "package/lua-cjson/Config.in"
 source "package/lua-coat/Config.in"
 source "package/lua-coatpersistent/Config.in"
 source "package/lua-ev/Config.in"
+source "package/lua-messagepack/Config.in"
 source "package/lua-msgpack-native/Config.in"
 source "package/lua-testmore/Config.in"
 source "package/luasql-sqlite3/Config.in"
diff --git a/package/lua-messagepack/Config.in b/package/lua-messagepack/Config.in
new file mode 100644 (file)
index 0000000..2dab316
--- /dev/null
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_LUA_MESSAGEPACK
+       bool "lua-messagepack"
+       help
+         A pure Lua implementation of the MessagePack serialization
+         format.
+
+         http://fperrad.github.io/lua-MessagePack/
diff --git a/package/lua-messagepack/lua-messagepack.mk b/package/lua-messagepack/lua-messagepack.mk
new file mode 100644 (file)
index 0000000..9a680ee
--- /dev/null
@@ -0,0 +1,13 @@
+################################################################################
+#
+# lua-messagepack
+#
+################################################################################
+
+LUA_MESSAGEPACK_VERSION_UPSTREAM = 0.3.0
+LUA_MESSAGEPACK_VERSION = $(LUA_MESSAGEPACK_VERSION_UPSTREAM)-1
+LUA_MESSAGEPACK_SUBDIR  = lua-MessagePack-$(LUA_MESSAGEPACK_VERSION_UPSTREAM)
+LUA_MESSAGEPACK_LICENSE = MIT
+LUA_MESSAGEPACK_LICENSE_FILES = $(LUA_MESSAGEPACK_SUBDIR)/COPYRIGHT
+
+$(eval $(luarocks-package))