-
Notifications
You must be signed in to change notification settings - Fork 3
/
graph-toolkit-scm-1.rockspec
56 lines (56 loc) · 1.31 KB
/
graph-toolkit-scm-1.rockspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
package = "graph-toolkit"
version = "scm-1"
source = {
dir = "graph-toolkit-master",
url = "https://github.com/franko/graph-toolkit/archive/master.zip",
}
description = {
summary = "Lua Graphics Toolkit",
detailed = [[
The Lua Graphics Toolkit is a Lua module for creating plots and graphical
animations using a simple Lua interface. The module implements the core
functions in C and C++ using Lua's C API. A second layer of functions are
implemented in Lua.
]],
homepage = "http://franko.github.io/graph-toolkit/",
license = "GPL-3"
}
dependencies = {
"lua >= 5.1"
}
external_dependencies = {
AGG = {
header = "agg2/agg_basics.h"
},
FREETYPE = {
header = "freetype2/ft2build.h",
library = "freetype"
},
platforms = {
unix = {
X11 = {
header = "X11/Xlib.h",
library = "X11"
}
},
macosx = {
X11 = {
header = "X11/Xlib.h",
library = "X11"
}
}
}
}
build = {
type = "make",
build_variables = {
CFLAGS = "$(CFLAGS) -I$(LUA_INCDIR)",
CXXFLAGS = "$(CXXFLAGS) -I$(LUA_INCDIR)",
},
install_variables = {
PREFIX = "$(PREFIX)",
LUA_PATH = "$(LUADIR)",
LUA_DLLPATH = "$(LIBDIR)"
},
copy_directories = { "doc" },
}