Welcome to mirror list, hosted at ThFree Co, Russian Federation.

trepl-scm-1.rockspec - github.com/torch/trepl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e0dae0366989966168a579d54633133ce2b948af (plain)
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
57
58
59
60
61
62
63
64
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 = {
      freebsd = {
             modules = {
                  ['readline'] = {
                    incdirs = {'/usr/local/include'},
                    libdirs = {'/usr/local/lib'}
                  }
             }
      },
      windows = {
	     modules = {
		    ['readline'] = {
               sources = {'readline.c'},
               libraries = {'readline'},
               defines = {"WinEditLine"},
               incdirs = {"..\\..\\win-files\\3rd\\wineditline-2.201\\include"},
               libdirs = {"..\\..\\win-files\\3rd\\wineditline-2.201\\lib64"},
               libraries = {'edit_static', 'user32'}
			}
		 }
	  }
   },
   install = {
      bin = {
         'th'
      }
   }
}