bootstrap-lua.sh (245B)
- #!/bin/sh
- set -ex
- # TODO (need ed / sed -i): https://www.lua.org/tests/lua-5.4.6-tests.tar.gz
- tar xof /lua-*.tar.gz
- cd lua-*/
- pdpmake -C src all CC="$CC -std=gnu99" SYSCFLAGS="-DLUA_USE_LINUX" RANLIB=true
- pdpmake install
- cd ..
- rm -fr lua-*/