Nedko Arnaudov 0dfa680a0e | ||
---|---|---|
autooptions@87a720d8ad | ||
.gitignore | ||
.gitmodules | ||
AUTHORS | ||
Makefile | ||
README.adoc | ||
TODO.adoc | ||
luanewt.c | ||
luanewt.geany | ||
luanewt.h | ||
test1.lua | ||
test2.lua | ||
test3.lua | ||
waf | ||
wscript |
README.adoc
lua bindings for Newt
luanewt provides simple lua bindings for Newt, a programming library for color text mode, widget-based user interfaces.
Here are LADI project modifications of bindings that work with Lua 5.3 (and 5.4). A waf build system is provided as alternative to the original Makefile (uses pkg-config). |
Dependencies
-
lua 5.3, 5.4 or future version of lua
-
newt
Install deps on MacOS X
brew install newt # MacOS X
Install deps on CentOS
yum install -y newt-devel # CentOS
build & usage
Using waf
Configure the source tree:
./waf configure --prefix=/usr
Build the source tree:
./waf
Install the source tree:
./waf install
Using make
and then just do make, run test with make test