ncurses
$ cd Open_Source_packages
$ source source.me
$ tar -xzvf ncurses-5.7.tar.gz
$ cd ncurses-5.7
$ ./xbuild.sh build
$ ./xbuild.sh install
readline
$ cd Open_Source_packages
$ source source.me
$ tar -xzvf readline-6.2.tar.gz
$ cd readline-6.2
$ ./xbuild.sh build
$ ./xbuild.sh install
$ cd Open_Source_packages
$ source source.me
$ curl http://www.lua.org/ftp/lua-5.3.2.tar.gz | tar -xzv
$ cd lua-5.3.2
$ curl https://gist.githubusercontent.com/juniorz/3e0456fa61ad4509895b/raw/xbuild.sh -O
$ chmod +x ./xbuild.sh
$ ./xbuild.sh build
Now copy src/lua
and src/luac
to your device.
If you see source: not found
errors whle running ./xbuild.sh
, edit the file and change the shebang to #!/bin/bash
.