File: luv-scm-0.rockspec

package info (click to toggle)
lua-luv 1.48.0-2-3
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 1,036 kB
  • sloc: ansic: 6,565; makefile: 72; sh: 33
file content (41 lines) | stat: -rw-r--r-- 839 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
package = "luv"
version = "scm-0"
source = {
  url = 'git://github.com/luvit/luv.git'
}
rockspec_format = "3.0"

description = {
  summary = "Bare libuv bindings for lua",
  detailed = [[
libuv bindings for luajit and lua 5.1/5.2/5.3/5.4.

This library makes libuv available to lua scripts. It was made for the luvit
project but should usable from nearly any lua project.
  ]],
  homepage = "https://github.com/luvit/luv",
  license = "Apache 2.0"
}

dependencies = {
  "lua >= 5.1"
}

build = {
  type = 'cmake',
  variables = {
     CMAKE_C_FLAGS="$(CFLAGS)",
     CMAKE_MODULE_LINKER_FLAGS="$(LIBFLAG)",
     LUA_LIBDIR="$(LUA_LIBDIR)",
     LUA_INCDIR="$(LUA_INCDIR)",
     LUA_LIBFILE="$(LUALIB)",
     LUA="$(LUA)",
     LIBDIR="$(LIBDIR)",
     LUADIR="$(LUADIR)",
  },
}

test = {
  type = "command",
  script = "tests/run.lua",
}