Welcome to mirror list, hosted at ThFree Co, Russian Federation.

winreg-1.0.0-1.rockspec « rockspecs - github.com/windirstat/lua-winreg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: dd49ffccb3bde9d2bd61a1c3365af0d8c5f2cbba (plain)
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
42
43
44
45
46
package = "winreg"
version = "1.0.0-1"
source = {
  url = "https://github.com/moteus/lua-winreg/archive/v1.0.0.zip",
  dir = "lua-winreg-1.0.0",
}

description = {
  summary = "Lua module to Access Microsoft(R) Windows(R) Registry",
  homepage = "http://github.com/moteus/lua-winreg",
  license = "MIT/X11",
  detailed = [[
  ]],
}

supported_platforms = {
  "windows"
}

dependencies = {
  "lua >= 5.1, < 5.4",
}

build = {
  type = "builtin",

  copy_directories = {'doc', 'examples', 'test'},

  modules = {
    winreg = {
      sources = {
        "src/l52util.c", "src/lua_int64.c", "src/lua_mtutil.c", "src/lua_tstring.c",
        "src/luawin_dllerror.c", "src/win_privileges.c", "src/win_registry.c",
        "src/win_trace.c", "src/winreg.c",
      },
      defines = {
        "WIN32"; "_WIN32"; "_WINDOWS",
        "WIN32_LEAN_AND_MEAN"; "WINDLL"; "USRDLL",
        "NDEBUG", "_CRT_SECURE_NO_WARNINGS",
        "CRTAPI1=_cdecl", "CRTAPI2=_cdecl",
        "WINREG_EXPORTS", "WINREG_API=__declspec(dllexport)"
      },
      libraries = {"advapi32", "kernel32", "user32"},
    }
  }
}