diff options
author | Alexey Melnichuk <alexeymelnichuck@gmail.com> | 2016-11-07 13:00:37 +0300 |
---|---|---|
committer | Alexey Melnichuk <alexeymelnichuck@gmail.com> | 2016-11-07 13:00:37 +0300 |
commit | 70a463c15e0be1990db9a27afd1775e5281bf21e (patch) | |
tree | 0b7ccb1c930f5b2f36bc7b7059ff9e7884428d3e | |
parent | 83dc40f8b6d71ea25d63d7b8e3949d6ad763a0b5 (diff) |
Add. Release v1.0.0
-rw-r--r-- | rockspecs/winreg-1.0.0-1.rockspec | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/rockspecs/winreg-1.0.0-1.rockspec b/rockspecs/winreg-1.0.0-1.rockspec new file mode 100644 index 0000000..dd49ffc --- /dev/null +++ b/rockspecs/winreg-1.0.0-1.rockspec @@ -0,0 +1,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"}, + } + } +} |