annotate lua/luadyncall/rockspec/luadyncall-0.1-1.rockspec @ 12:079718588eb6

made erlang binding work with system *installed* dyncall: - made build use static libraries (used .o files directly) - removed custom flags for include path and relying on CFLAGS now - change cc to $(CC) - readme update with build instructions, etc.
author cslag
date Sat, 26 Mar 2016 15:55:50 +0100
parents 0cfcc391201f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
1 package = "luadyncall"
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
2 version = "0.1-1"
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
3 source = {
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
4 url = "http://..."
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
5 }
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
6 description = {
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
7 summary = "Lua DynCall Bindings variant 2.",
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
8 detailed = [[
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
9 Foreign Function Interface - variant 2 (built-in rock)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
10 ]],
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
11 homepage = "http://dyncall.org",
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
12 license = "ISC"
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
13 }
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
14 dependencies = {
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
15 "lua >= 5.1"
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
16 }
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
17 external_dependencies = {
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
18 DYNCALL = {
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
19 header = "dyncall.h"
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
20 }
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
21 }
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
22 build = {
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
23 type = "builtin",
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
24 modules = {
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
25 ldynload = {
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
26 sources = "src/ldynload.c",
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
27 libraries = {"dynload_s"},
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
28 libdirs = {"$(DYNCALL_LIBDIR)"},
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
29 incdirs = {"$(DYNCALL_INCDIR)"}
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
30 },
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
31 ldyncall = {
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
32 sources = "src/ldyncall.c",
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
33 libraries = {"dyncall_s"},
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
34 libdirs = {"$(DYNCALL_LIBDIR)"},
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
35 incdirs = {"$(DYNCALL_INCDIR)"}
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
36 },
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
37 larray = {
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
38 sources = "src/larray.c",
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
39 incdirs = {"$(DYNCALL_INCDIR)"}
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
40 },
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
41 dynload = "src/dynload.lua",
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
42 dyncall = "src/dyncall.lua",
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
43 dynport = "src/dynport.lua",
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
44 smartptr= "src/smartptr.lua",
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
45 path = "src/path.lua",
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
46 array = "src/array.c",
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
47 intutils= "src/intutils.lua"
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
48 }
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
49 }
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
50