diff options
Diffstat (limited to 'spec/fixtures/with_external_dep-0.1-1.rockspec')
-rw-r--r-- | spec/fixtures/with_external_dep-0.1-1.rockspec | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/spec/fixtures/with_external_dep-0.1-1.rockspec b/spec/fixtures/with_external_dep-0.1-1.rockspec new file mode 100644 index 00000000..45fea4bd --- /dev/null +++ b/spec/fixtures/with_external_dep-0.1-1.rockspec | |||
@@ -0,0 +1,25 @@ | |||
1 | package = "with_external_dep" | ||
2 | version = "0.1-1" | ||
3 | source = { | ||
4 | url = "http://localhost:8080/file/with_external_dep.c" | ||
5 | } | ||
6 | description = { | ||
7 | summary = "An example rockspec", | ||
8 | } | ||
9 | external_dependencies = { | ||
10 | FOO = { | ||
11 | header = "foo/foo.h" | ||
12 | } | ||
13 | } | ||
14 | dependencies = { | ||
15 | "lua >= 5.1" | ||
16 | } | ||
17 | build = { | ||
18 | type = "builtin", | ||
19 | modules = { | ||
20 | with_external_dep = { | ||
21 | sources = "with_external_dep.c", | ||
22 | incdirs = "$(FOO_INCDIR)", | ||
23 | } | ||
24 | } | ||
25 | } | ||