summaryrefslogtreecommitdiff
path: root/spec/fixtures/with_external_dep-0.1-1.rockspec
diff options
context:
space:
mode:
authorMike Vink <mike@pionative.com>2025-02-03 21:29:42 +0100
committerMike Vink <mike@pionative.com>2025-02-03 21:29:42 +0100
commit5155816b7b925dec5d5feb1568b1d7ceb00938b9 (patch)
treedeca28ea15e79f6f804c3d90d2ba757881638af5 /spec/fixtures/with_external_dep-0.1-1.rockspec
fetch tarballHEADmaster
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)",
+ }
+ }
+}