summaryrefslogtreecommitdiff
path: root/spec/fixtures/with_external_dep-0.1-1.rockspec
diff options
context:
space:
mode:
Diffstat (limited to 'spec/fixtures/with_external_dep-0.1-1.rockspec')
-rw-r--r--spec/fixtures/with_external_dep-0.1-1.rockspec25
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 0000000..45fea4b
--- /dev/null
+++ b/spec/fixtures/with_external_dep-0.1-1.rockspec
@@ -0,0 +1,25 @@
+package = "with_external_dep"
+version = "0.1-1"
+source = {
+ url = "http://localhost:8080/file/with_external_dep.c"
+}
+description = {
+ summary = "An example rockspec",
+}
+external_dependencies = {
+ FOO = {
+ header = "foo/foo.h"
+ }
+}
+dependencies = {
+ "lua >= 5.1"
+}
+build = {
+ type = "builtin",
+ modules = {
+ with_external_dep = {
+ sources = "with_external_dep.c",
+ incdirs = "$(FOO_INCDIR)",
+ }
+ }
+}