summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander M Pickering <alex@cogarr.net>2024-08-14 12:17:22 -0500
committerAlexander M Pickering <alex@cogarr.net>2024-08-14 12:17:22 -0500
commitc03954896ec2ce03b5f3969867a7196ae3a443a2 (patch)
tree51f1d62c26c3749b7b791d1f1c303b081bb641ae
parent17bfc46df0006ac0908d001387b24449780d4d92 (diff)
downloadimage-luarocks-c03954896ec2ce03b5f3969867a7196ae3a443a2.tar.gz
image-luarocks-c03954896ec2ce03b5f3969867a7196ae3a443a2.tar.bz2
image-luarocks-c03954896ec2ce03b5f3969867a7196ae3a443a2.zip
Set the incdir for luarocks
-rwxr-xr-xinit1
-rw-r--r--meta.lua3
2 files changed, 2 insertions, 2 deletions
diff --git a/init b/init
index 451c299..c68ed42 100755
--- a/init
+++ b/init
@@ -17,3 +17,4 @@ rm /root/*.tar.gz
17rm -rf /root/image-mingw64 17rm -rf /root/image-mingw64
18luarocks config arch $arch 18luarocks config arch $arch
19luarocks config link_lua_explicitly true 19luarocks config link_lua_explicitly true
20luarocks config variables.LUA_INCDIR /root/$luaver/src
diff --git a/meta.lua b/meta.lua
index dd1abb3..22c18ef 100644
--- a/meta.lua
+++ b/meta.lua
@@ -21,14 +21,13 @@ for image, arch, version, link in cartesian(sources, lua_versions) do
21 image = "image-" .. image, 21 image = "image-" .. image,
22 requires = { 22 requires = {
23 {"http", link} 23 {"http", link}
24
25 }, 24 },
26 produces = {}, 25 produces = {},
27 export = true, 26 export = true,
28 env = { 27 env = {
29 maj = version:match("(%d)%d"), 28 maj = version:match("(%d)%d"),
30 min = version:match("%d(%d)"), 29 min = version:match("%d(%d)"),
31 arch = arch 30 arch = arch,
32 } 31 }
33 } 32 }
34end 33end