summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFrancois Perrad <fperrad@gmail.com>2014-02-24 08:34:56 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-03-01 16:33:37 +0100
commitd6cfb8fabe841c93dbd49678eb0655767e0799dd (patch)
tree158ba04b9a340b6019ae26376cf82c5fa61c680c /package
parentd56e04ae6e9ebd769c0720c68564dbb3b88456e2 (diff)
lua-csnappy: new package
Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package')
-rw-r--r--package/Config.in1
-rw-r--r--package/lua-csnappy/Config.in8
-rw-r--r--package/lua-csnappy/lua-csnappy.mk13
3 files changed, 22 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index cc407e138..43c829227 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -380,6 +380,7 @@ source "package/lrandom/Config.in"
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"
diff --git a/package/lua-csnappy/Config.in b/package/lua-csnappy/Config.in
new file mode 100644
index 000000000..0562277a0
--- /dev/null
+++ b/package/lua-csnappy/Config.in
@@ -0,0 +1,8 @@
+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/
+
diff --git a/package/lua-csnappy/lua-csnappy.mk b/package/lua-csnappy/lua-csnappy.mk
new file mode 100644
index 000000000..07aaf77fe
--- /dev/null
+++ b/package/lua-csnappy/lua-csnappy.mk
@@ -0,0 +1,13 @@
+################################################################################
+#
+# 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))