Release 0.3.12
This commit is contained in:
parent
ac99e48791
commit
5e59d1e750
2
LICENSE
2
LICENSE
@ -1,6 +1,6 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2014-2019 Alexey Melnichuk
|
||||
Copyright (c) 2014-2021 Alexey Melnichuk
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
75
rockspecs/lua-curl-0.3.12-1.rockspec
Normal file
75
rockspecs/lua-curl-0.3.12-1.rockspec
Normal file
@ -0,0 +1,75 @@
|
||||
package = "Lua-cURL"
|
||||
version = "0.3.12-1"
|
||||
|
||||
source = {
|
||||
url = "https://github.com/Lua-cURL/Lua-cURLv3/archive/v0.3.12.zip",
|
||||
dir = "Lua-cURLv3-0.3.12",
|
||||
}
|
||||
|
||||
description = {
|
||||
summary = "Lua binding to libcurl",
|
||||
detailed = [[
|
||||
]],
|
||||
homepage = "https://github.com/Lua-cURL",
|
||||
license = "MIT/X11"
|
||||
}
|
||||
|
||||
dependencies = {
|
||||
"lua >= 5.1, < 5.5"
|
||||
}
|
||||
|
||||
external_dependencies = {
|
||||
platforms = {
|
||||
windows = {
|
||||
CURL = {
|
||||
header = "curl/curl.h",
|
||||
library = "libcurl",
|
||||
}
|
||||
};
|
||||
unix = {
|
||||
CURL = {
|
||||
header = "curl/curl.h",
|
||||
-- library = "curl",
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
build = {
|
||||
copy_directories = {'doc', 'examples', 'test'},
|
||||
|
||||
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", "src/lcmime.c",
|
||||
"src/lcurlapi.c",
|
||||
},
|
||||
incdirs = { "$(CURL_INCDIR)" },
|
||||
libdirs = { "$(CURL_LIBDIR)" }
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
/******************************************************************************
|
||||
* Author: Alexey Melnichuk <alexeymelnichuck@gmail.com>
|
||||
*
|
||||
* Copyright (C) 2014-2018 Alexey Melnichuk <alexeymelnichuck@gmail.com>
|
||||
* Copyright (C) 2014-2021 Alexey Melnichuk <alexeymelnichuck@gmail.com>
|
||||
*
|
||||
* Licensed according to the included 'LICENSE' document
|
||||
*
|
||||
|
@ -1,7 +1,7 @@
|
||||
/******************************************************************************
|
||||
* Author: Alexey Melnichuk <alexeymelnichuck@gmail.com>
|
||||
*
|
||||
* Copyright (C) 2014-2018 Alexey Melnichuk <alexeymelnichuck@gmail.com>
|
||||
* Copyright (C) 2014-2021 Alexey Melnichuk <alexeymelnichuck@gmail.com>
|
||||
*
|
||||
* Licensed according to the included 'LICENSE' document
|
||||
*
|
||||
|
@ -1,7 +1,7 @@
|
||||
/******************************************************************************
|
||||
* Author: Alexey Melnichuk <alexeymelnichuck@gmail.com>
|
||||
*
|
||||
* Copyright (C) 2014-2018 Alexey Melnichuk <alexeymelnichuck@gmail.com>
|
||||
* Copyright (C) 2014-2021 Alexey Melnichuk <alexeymelnichuck@gmail.com>
|
||||
*
|
||||
* Licensed according to the included 'LICENSE' document
|
||||
*
|
||||
|
@ -1,7 +1,7 @@
|
||||
/******************************************************************************
|
||||
* Author: Alexey Melnichuk <alexeymelnichuck@gmail.com>
|
||||
*
|
||||
* Copyright (C) 2014-2018 Alexey Melnichuk <alexeymelnichuck@gmail.com>
|
||||
* Copyright (C) 2014-2021 Alexey Melnichuk <alexeymelnichuck@gmail.com>
|
||||
*
|
||||
* Licensed according to the included 'LICENSE' document
|
||||
*
|
||||
|
@ -1,7 +1,7 @@
|
||||
/******************************************************************************
|
||||
* Author: Alexey Melnichuk <alexeymelnichuck@gmail.com>
|
||||
*
|
||||
* Copyright (C) 2014-2018 Alexey Melnichuk <alexeymelnichuck@gmail.com>
|
||||
* Copyright (C) 2014-2021 Alexey Melnichuk <alexeymelnichuck@gmail.com>
|
||||
*
|
||||
* Licensed according to the included 'LICENSE' document
|
||||
*
|
||||
|
@ -1,7 +1,7 @@
|
||||
/******************************************************************************
|
||||
* Author: Alexey Melnichuk <alexeymelnichuck@gmail.com>
|
||||
*
|
||||
* Copyright (C) 2014-2018 Alexey Melnichuk <alexeymelnichuck@gmail.com>
|
||||
* Copyright (C) 2014-2021 Alexey Melnichuk <alexeymelnichuck@gmail.com>
|
||||
*
|
||||
* Licensed according to the included 'LICENSE' document
|
||||
*
|
||||
|
@ -1,7 +1,7 @@
|
||||
/******************************************************************************
|
||||
* Author: Alexey Melnichuk <alexeymelnichuck@gmail.com>
|
||||
*
|
||||
* Copyright (C) 2014-2018 Alexey Melnichuk <alexeymelnichuck@gmail.com>
|
||||
* Copyright (C) 2014-2021 Alexey Melnichuk <alexeymelnichuck@gmail.com>
|
||||
*
|
||||
* Licensed according to the included 'LICENSE' document
|
||||
*
|
||||
|
@ -1,7 +1,7 @@
|
||||
--
|
||||
-- Author: Alexey Melnichuk <alexeymelnichuck@gmail.com>
|
||||
--
|
||||
-- Copyright (C) 2014-2019 Alexey Melnichuk <alexeymelnichuck@gmail.com>
|
||||
-- Copyright (C) 2014-2021 Alexey Melnichuk <alexeymelnichuck@gmail.com>
|
||||
--
|
||||
-- Licensed according to the included 'LICENSE' document
|
||||
--
|
||||
@ -10,9 +10,9 @@
|
||||
|
||||
local module_info = {
|
||||
_NAME = "Lua-cURL";
|
||||
_VERSION = "0.3.12-dev";
|
||||
_VERSION = "0.3.12";
|
||||
_LICENSE = "MIT";
|
||||
_COPYRIGHT = "Copyright (c) 2014-2019 Alexey Melnichuk";
|
||||
_COPYRIGHT = "Copyright (c) 2014-2021 Alexey Melnichuk";
|
||||
}
|
||||
|
||||
local function hash_id(str)
|
||||
|
Loading…
x
Reference in New Issue
Block a user