Release 0.3.4
This commit is contained in:
parent
1c73fc1173
commit
7a5176cf37
74
rockspecs/lua-curl-0.3.4-1.rockspec
Normal file
74
rockspecs/lua-curl-0.3.4-1.rockspec
Normal file
@ -0,0 +1,74 @@
|
|||||||
|
package = "Lua-cURL"
|
||||||
|
version = "0.3.4-1"
|
||||||
|
|
||||||
|
source = {
|
||||||
|
url = "https://github.com/Lua-cURL/Lua-cURLv3/archive/v0.3.4.zip",
|
||||||
|
dir = "Lua-cURLv3-0.3.4",
|
||||||
|
}
|
||||||
|
|
||||||
|
description = {
|
||||||
|
summary = "Lua binding to libcurl",
|
||||||
|
detailed = [[
|
||||||
|
]],
|
||||||
|
homepage = "https://github.com/Lua-cURL",
|
||||||
|
license = "MIT/X11"
|
||||||
|
}
|
||||||
|
|
||||||
|
dependencies = {
|
||||||
|
"lua >= 5.1, < 5.4"
|
||||||
|
}
|
||||||
|
|
||||||
|
external_dependencies = {
|
||||||
|
platforms = {
|
||||||
|
windows = {
|
||||||
|
CURL = {
|
||||||
|
header = "curl/curl.h",
|
||||||
|
library = "libcurl",
|
||||||
|
}
|
||||||
|
};
|
||||||
|
unix = {
|
||||||
|
CURL = {
|
||||||
|
header = "curl/curl.h",
|
||||||
|
-- library = "curl",
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
build = {
|
||||||
|
copy_directories = {'doc', 'examples'},
|
||||||
|
|
||||||
|
type = "builtin",
|
||||||
|
|
||||||
|
platforms = {
|
||||||
|
windows = { modules = {
|
||||||
|
lcurl = {
|
||||||
|
libraries = {"libcurl", "ws2_32"},
|
||||||
|
}
|
||||||
|
}},
|
||||||
|
unix = { modules = {
|
||||||
|
lcurl = {
|
||||||
|
libraries = {"curl"},
|
||||||
|
}
|
||||||
|
}}
|
||||||
|
},
|
||||||
|
|
||||||
|
modules = {
|
||||||
|
["cURL" ] = "src/lua/cURL.lua",
|
||||||
|
["cURL.safe" ] = "src/lua/cURL/safe.lua",
|
||||||
|
["cURL.utils" ] = "src/lua/cURL/utils.lua",
|
||||||
|
["cURL.impl.cURL" ] = "src/lua/cURL/impl/cURL.lua",
|
||||||
|
|
||||||
|
lcurl = {
|
||||||
|
sources = {
|
||||||
|
"src/l52util.c", "src/lceasy.c", "src/lcerror.c",
|
||||||
|
"src/lchttppost.c", "src/lcurl.c", "src/lcutils.c",
|
||||||
|
"src/lcmulti.c", "src/lcshare.c",
|
||||||
|
},
|
||||||
|
incdirs = { "$(CURL_INCDIR)" },
|
||||||
|
libdirs = { "$(CURL_LIBDIR)" }
|
||||||
|
},
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
local module_info = {
|
local module_info = {
|
||||||
_NAME = "Lua-cURL";
|
_NAME = "Lua-cURL";
|
||||||
_VERSION = "0.3.4-dev";
|
_VERSION = "0.3.4";
|
||||||
_LICENSE = "MIT";
|
_LICENSE = "MIT";
|
||||||
_COPYRIGHT = "Copyright (c) 2014-2016 Alexey Melnichuk";
|
_COPYRIGHT = "Copyright (c) 2014-2016 Alexey Melnichuk";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user