1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
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",
}
|