-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathxml-1.1.3-1.rockspec
76 lines (72 loc) · 1.47 KB
/
xml-1.1.3-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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
package = "xml"
version = "1.1.3-1"
source = {
url = 'git://github.com/lubyk/xml',
tag = 'REL-1.1.3',
dir = 'xml',
}
description = {
summary = "Very fast xml parser based on RapidXML",
detailed = [[
This module is part of the Lubyk project.
Main features are:
- Fast and easy to use
- Complete documentation
- Based on proven code (RapidXML)
- Full test coverage
Read the documentation at http://doc.lubyk.org/xml.html.
]],
homepage = "http://doc.lubyk.org/xml.html",
license = "MIT"
}
dependencies = {
"lua >= 5.1, < 5.4",
"lub >= 1.0.3, < 2",
}
build = {
type = 'builtin',
modules = {
-- Plain Lua files
['xml' ] = 'xml/init.lua',
['xml.Parser' ] = 'xml/Parser.lua',
-- C module
['xml.core' ] = {
sources = {
'src/Parser.cpp',
'src/bind/dub/dub.cpp',
'src/bind/xml_Parser.cpp',
'src/bind/xml_core.cpp',
},
incdirs = {'include', 'src/bind', 'src/vendor'},
},
},
platforms = {
freebsd = {
modules = {
['xml.core'] = {
sources = {
},
libraries = {'c++'},
},
},
},
linux = {
modules = {
['xml.core'] = {
sources = {
},
libraries = {'stdc++'},
},
},
},
macosx = {
modules = {
['xml.core'] = {
sources = {
},
libraries = {'stdc++'},
},
},
},
},
}