diff options
| author | Steven <burnett@posteo.de> | 2026-01-17 21:22:52 +0000 |
|---|---|---|
| committer | Steven <burnett@posteo.de> | 2026-01-17 21:22:52 +0000 |
| commit | 68d493c5f261a99b40d90e2cc4f08b24d1975234 (patch) | |
| tree | e9a0e4438d1b7c8e5bb5e26ec2585918e85f8e80 /examples/scripting/lua/deps.sh | |
| parent | 7ac5be7ba8f700f69009c5e980ee7b12b0653586 (diff) | |
chore(examples): New example for LUA bindings
Diffstat (limited to 'examples/scripting/lua/deps.sh')
| -rwxr-xr-x | examples/scripting/lua/deps.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/examples/scripting/lua/deps.sh b/examples/scripting/lua/deps.sh new file mode 100755 index 0000000..c4a9251 --- /dev/null +++ b/examples/scripting/lua/deps.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +## Downloads lua-5.4.2 headers (.h) and lib (.a) into ./lua + +wget "https://sourceforge.net/projects/luabinaries/files/5.4.2/Linux%20Libraries/lua-5.4.2_Linux54_64_lib.tar.gz" + +[[ -d "lua" ]] && rm -rf lua +mkdir -p lua + +tar -xf lua-5.4.2_Linux54_64_lib.tar.gz + +mv include/* *.a lua/ +rm -rf *.so include lua-5.4.2_Linux54_64_lib.tar.gz |
