xref: /freebsd/contrib/libucl/lua/libucl.rockspec.in (revision d8a0fe102c0cfdfcd5b818f850eff09d8536c9bc)
1package="@PACKAGE@"
2version="@VERSION@-1"
3source = {
4  url = "https://github.com/downloads/vstakhov/@PACKAGE@/@PACKAGE@-@VERSION@.tar.gz",
5  md5 = "@MD5@",
6  dir = "@PACKAGE@-@VERSION@"
7}
8description = {
9  summary = "UCL - json like configuration language",
10  detailed = [[
11      UCL is heavily infused by nginx configuration as the example
12      of a convenient configuration system.
13      However, UCL is fully compatible with JSON format and is able
14      to parse json files.
15   ]],
16  homepage = "http://github.com/vstakhov/@PACKAGE@/",
17  license = ""
18}
19dependencies = {
20  "lua >= 5.1"
21}
22build = {
23  type = "command",
24  build_command = "LUA=$(LUA) CPPFLAGS=-I$(LUA_INCDIR) ./configure --prefix=$(PREFIX) --libdir=$(LIBDIR) --datadir=$(LUADIR) && make clean && make",
25  install_command = "make install"
26}
27