package = "lyaml" version = "5-1" description = { detailed = "Read and write YAML format files with Lua.", homepage = "http://github.com/gvvaughan/lyaml", license = "MIT/X11", summary = "libYAML binding for Lua", } source = { dir = "lyaml-release-v5", url = "http://github.com/gvvaughan/lyaml/archive/release-v5.zip", } dependencies = { "lua >= 5.1", } external_dependencies = { YAML = { library = "yaml", }, } build = { build_command = "./configure LUA='$(LUA)' LUA_INCLUDE='-I$(LUA_INCDIR)' CPPFLAGS='-I$(YAML_INCDIR)' LDFLAGS='-L$(YAML_LIBDIR)' --prefix='$(PREFIX)' --libdir='$(LIBDIR)' --datadir='$(LUADIR)' --datarootdir='$(PREFIX)' && make clean all", copy_directories = {}, install_command = "make install luadir='$(LUADIR)'", type = "command", }