forked from diz-vara/rocks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
trepl-scm-1.rockspec
56 lines (52 loc) · 1.09 KB
/
trepl-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 = "trepl"
version = "scm-1"
source = {
url = "git://github.com/torch/trepl",
branch = "master",
}
description = {
summary = "An embedabble, Lua-only REPL for Torch.",
detailed = [[
An embedabble, Lua-only REPL for Torch.
]],
homepage = "https://github.com/torch/trepl",
license = "BSD"
}
dependencies = {
"torch >= 7.0",
"penlight >= 1.1.0",
}
build = {
type = "builtin",
modules = {
['trepl.init'] = 'init.lua',
['trepl.colors'] = 'colors.lua',
['trepl.colorize'] = 'colorize.lua',
['readline'] = {
sources = {'readline.c'},
libraries = {'readline'}
},
['treplutils'] = {
sources = {'utils.c'},
}
},
platforms = {
windows = {
modules = {
['readline'] = {
sources = {'readline.c'},
libraries = {'readline'},
defines = {"USE_READLINE_STATIC"},
incdirs = {"windows"},
libdirs = {"windows"},
libraries = {'readline-win'}
}
}
}
},
install = {
bin = {
'th'
}
}
}