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