annoy
/
annoy-dev-1.rockspec
59 строк · 1.7 Кб
1-- Copyright (c) 2016 Boris Nagaev
2--
3-- Licensed under the Apache License, Version 2.0 (the "License"); you may not
4-- use this file except in compliance with the License. You may obtain a copy of
5-- the License at
6--
7-- http://www.apache.org/licenses/LICENSE-2.0
8--
9-- Unless required by applicable law or agreed to in writing, software
10-- distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11-- WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12-- License for the specific language governing permissions and limitations under
13-- the License.
14
15package = "annoy"
16version = "dev-1"
17source = {
18url = "git://github.com/spotify/annoy.git",
19}
20description = {
21summary = "Approximate Nearest Neighbors Oh Yeah",
22homepage = "https://github.com/spotify/annoy",
23license = "Apache",
24detailed = [[
25Annoy (Approximate Nearest Neighbors Oh Yeah) is a C++ library with Python
26Go and Lua bindings to search for points in space that are close to a given
27query point. It also creates large read-only file-based data structures
28that are mmapped into memory so that many processes may share the same data.
29]],
30}
31dependencies = {
32"lua >= 5.1",
33}
34build = {
35type = "builtin",
36modules = {
37['annoy'] = {
38sources = {
39"src/annoyluamodule.cc",
40},
41},
42},
43platforms = {
44unix = {
45modules = {
46['annoy'] = {
47libraries = {"stdc++"},
48},
49},
50},
51mingw32 = {
52modules = {
53['annoy'] = {
54libraries = {"stdc++"},
55},
56},
57},
58},
59}
60