Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
source "package/lua-cjson/Config.in"
source "package/lua-coat/Config.in"
source "package/lua-coatpersistent/Config.in"
+source "package/lua-csnappy/Config.in"
source "package/lua-ev/Config.in"
source "package/lua-messagepack/Config.in"
source "package/lua-msgpack-native/Config.in"
--- /dev/null
+config BR2_PACKAGE_LUA_CSNAPPY
+ bool "lua-csnappy"
+ help
+ lua-csnappy is a binding of the csnappy library
+ which implements the Google's Snappy (de)compressor.
+
+ http://fperrad.github.io/lua-csnappy/
+
--- /dev/null
+################################################################################
+#
+# lua-csnappy
+#
+################################################################################
+
+LUA_CSNAPPY_VERSION_UPSTREAM = 0.1.1
+LUA_CSNAPPY_VERSION = $(LUA_CSNAPPY_VERSION_UPSTREAM)-1
+LUA_CSNAPPY_SUBDIR = lua-csnappy-$(LUA_CSNAPPY_VERSION_UPSTREAM)
+LUA_CSNAPPY_LICENSE = BSD-3c
+LUA_CSNAPPY_LICENSE_FILES = $(LUA_CSNAPPY_SUBDIR)/COPYRIGHT
+
+$(eval $(luarocks-package))