# Note: depends on readline wget -c http://www.lua.org/ftp/lua-5.4.0.tar.gz tar -xzf lua-5.4.0.tar.gz cd lua-5.4.0 make INSTALL_TOP="/usr" linux MYLIBS='-lncurses' MYCFLAGS='-fPIC' # Doesn't mind -j# make INSTALL_TOP="/usr" install make INSTALL_TOP="/usr" pc > /usr/lib/pkgconfig/lua.pc echo 'Name: lua' >> /usr/lib/pkgconfig/lua.pc echo 'Version: 5.4.0' >> /usr/lib/pkgconfig/lua.pc echo 'Description: lua' >> /usr/lib/pkgconfig/lua.pc echo 'Libs: -llua' >> /usr/lib/pkgconfig/lua.pc