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