package = "LuaExpat"
version = "1.3.0-3"
source = {
   url = "https://code.matthewwild.co.uk/lua-expat/archive/1.3.0.tar.gz",
   dir = "lua-expat-1.3.0"
}
description = {
   summary = "XML Expat parsing",
   detailed = [[
      LuaExpat is a SAX (Simple API for XML) XML parser based on the
      Expat library.
   ]],
   homepage = "https://matthewwild.co.uk/projects/luaexpat/",
   license = "MIT/X11"
}
dependencies = {
   "lua >= 5.0"
}
external_dependencies = {
   EXPAT = {
      header = "expat.h"
   }
}
build = {
   type = "builtin",
   modules = {
      lxp = {
         incdirs = {
            "$(EXPAT_INCDIR)",
            "src/"
         },
         libdirs = {
            "$(EXPAT_LIBDIR)"
         },
         libraries = {
            "expat"
         },
         sources = {
            "src/lxplib.c"
         }
      },
      ["lxp.lom"] = "src/lxp/lom.lua"
   },
   copy_directories = {
      "doc",
      "tests"
   }
}
