[buildout]
extends =
  ../readline/buildout.cfg

parts =
  lua

[lua]
recipe = slapos.recipe.cmmi
shared = true
url = http://www.lua.org/ftp/lua-5.3.1.tar.gz
md5sum = 797adacada8d85761c079390ff1d9961
configure-command = true
make-options =
  "$(uname -sr 2>/dev/null|grep -Eq '^Linux' && echo linux || echo posix)"
  MYCFLAGS="-I${readline:location}/include"
  MYLDFLAGS="-L${readline:location}/lib -Wl,-rpath=${readline:location}/lib"
make-targets =
  install INSTALL_TOP=@@LOCATION@@
