Skip to content

Commit 7a5176c

Browse files
committed
Release 0.3.4
1 parent 1c73fc1 commit 7a5176c

File tree

2 files changed

+75
-1
lines changed

2 files changed

+75
-1
lines changed

rockspecs/lua-curl-0.3.4-1.rockspec

+74
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
package = "Lua-cURL"
2+
version = "0.3.4-1"
3+
4+
source = {
5+
url = "https://github.com/Lua-cURL/Lua-cURLv3/archive/v0.3.4.zip",
6+
dir = "Lua-cURLv3-0.3.4",
7+
}
8+
9+
description = {
10+
summary = "Lua binding to libcurl",
11+
detailed = [[
12+
]],
13+
homepage = "https://github.com/Lua-cURL",
14+
license = "MIT/X11"
15+
}
16+
17+
dependencies = {
18+
"lua >= 5.1, < 5.4"
19+
}
20+
21+
external_dependencies = {
22+
platforms = {
23+
windows = {
24+
CURL = {
25+
header = "curl/curl.h",
26+
library = "libcurl",
27+
}
28+
};
29+
unix = {
30+
CURL = {
31+
header = "curl/curl.h",
32+
-- library = "curl",
33+
}
34+
};
35+
}
36+
}
37+
38+
build = {
39+
copy_directories = {'doc', 'examples'},
40+
41+
type = "builtin",
42+
43+
platforms = {
44+
windows = { modules = {
45+
lcurl = {
46+
libraries = {"libcurl", "ws2_32"},
47+
}
48+
}},
49+
unix = { modules = {
50+
lcurl = {
51+
libraries = {"curl"},
52+
}
53+
}}
54+
},
55+
56+
modules = {
57+
["cURL" ] = "src/lua/cURL.lua",
58+
["cURL.safe" ] = "src/lua/cURL/safe.lua",
59+
["cURL.utils" ] = "src/lua/cURL/utils.lua",
60+
["cURL.impl.cURL" ] = "src/lua/cURL/impl/cURL.lua",
61+
62+
lcurl = {
63+
sources = {
64+
"src/l52util.c", "src/lceasy.c", "src/lcerror.c",
65+
"src/lchttppost.c", "src/lcurl.c", "src/lcutils.c",
66+
"src/lcmulti.c", "src/lcshare.c",
67+
},
68+
incdirs = { "$(CURL_INCDIR)" },
69+
libdirs = { "$(CURL_LIBDIR)" }
70+
},
71+
}
72+
}
73+
74+

src/lua/cURL/impl/cURL.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
local module_info = {
1212
_NAME = "Lua-cURL";
13-
_VERSION = "0.3.4-dev";
13+
_VERSION = "0.3.4";
1414
_LICENSE = "MIT";
1515
_COPYRIGHT = "Copyright (c) 2014-2016 Alexey Melnichuk";
1616
}

0 commit comments

Comments
 (0)