aboutsummaryrefslogtreecommitdiff
path: root/contrib/libucl/lua/libucl.rockspec.in
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libucl/lua/libucl.rockspec.in')
-rw-r--r--contrib/libucl/lua/libucl.rockspec.in26
1 files changed, 26 insertions, 0 deletions
diff --git a/contrib/libucl/lua/libucl.rockspec.in b/contrib/libucl/lua/libucl.rockspec.in
new file mode 100644
index 000000000000..52f39176a7bd
--- /dev/null
+++ b/contrib/libucl/lua/libucl.rockspec.in
@@ -0,0 +1,26 @@
+package="@PACKAGE@"
+version="@VERSION@-1"
+source = {
+ url = "https://github.com/downloads/vstakhov/@PACKAGE@/@PACKAGE@-@VERSION@.tar.gz",
+ md5 = "@MD5@",
+ dir = "@PACKAGE@-@VERSION@"
+}
+description = {
+ summary = "UCL - json like configuration language",
+ detailed = [[
+ UCL is heavily infused by nginx configuration as the example
+ of a convenient configuration system.
+ However, UCL is fully compatible with JSON format and is able
+ to parse json files.
+ ]],
+ homepage = "http://github.com/vstakhov/@PACKAGE@/",
+ license = ""
+}
+dependencies = {
+ "lua >= 5.1"
+}
+build = {
+ type = "command",
+ build_command = "LUA=$(LUA) CPPFLAGS=-I$(LUA_INCDIR) ./configure --prefix=$(PREFIX) --libdir=$(LIBDIR) --datadir=$(LUADIR) && make clean && make",
+ install_command = "make install"
+}