diff --git a/LICENSE b/LICENSE index 12772fc..ae1c9b3 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (C) 2003-2007 The Kepler Project, 2013-2022 Matthew Wild +Copyright (C) 2003-2007 The Kepler Project, 2013-2024 Matthew Wild Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation @@ -19,4 +19,3 @@ BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - diff --git a/docs/index.html b/docs/index.html index 1b579b2..50604c2 100644 --- a/docs/index.html +++ b/docs/index.html @@ -71,7 +71,7 @@
Current version is 1.5.1. It was developed for Lua 5.1 to Lua 5.4, and has been tested on +
Current version is 1.5.2. It was developed for Lua 5.1 to Lua 5.4, and has been tested on Linux and MacOS X with Expat 2.4.0+.
Copyright © 2003-2007 The Kepler Project, 2013-2022 Matthew Wild.
+Copyright © 2003-2007 The Kepler Project, 2013-2024 Matthew Wild.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation diff --git a/rockspecs/luaexpat-1.5.2-1.rockspec b/rockspecs/luaexpat-1.5.2-1.rockspec new file mode 100644 index 0000000..6de8320 --- /dev/null +++ b/rockspecs/luaexpat-1.5.2-1.rockspec @@ -0,0 +1,51 @@ +local package_name = "luaexpat" +local package_version = "1.5.2" +local rockspec_revision = "1" +local github_account_name = "lunarmodules" +local github_repo_name = package_name + + +package = package_name +version = package_version .. "-" .. rockspec_revision + +source = { + url = "git+https://github.com/"..github_account_name.."/"..github_repo_name..".git", + branch = (package_version == "scm") and "master" or nil, + tag = (package_version ~= "scm") and package_version or nil, +} + +description = { + summary = "XML Expat parsing", + detailed = [[ + LuaExpat is a SAX (Simple API for XML) XML parser based on the + Expat library. + ]], + license = "MIT/X11", + homepage = "https://"..github_account_name..".github.io/"..github_repo_name, +} + +dependencies = { + "lua >= 5.1" +} + +external_dependencies = { + EXPAT = { + header = "expat.h" + } +} + +build = { + type = "builtin", + modules = { + lxp = { + sources = { "src/lxplib.c" }, + libraries = { "expat" }, + incdirs = { "$(EXPAT_INCDIR)", "src/" }, + libdirs = { "$(EXPAT_LIBDIR)" }, + }, + ["lxp.lom"] = "src/lxp/lom.lua", + ["lxp.totable"] = "src/lxp/totable.lua", + ["lxp.threat"] = "src/lxp/threat.lua", + }, + copy_directories = { "docs" } +} diff --git a/src/lxplib.h b/src/lxplib.h index 06af90a..b5229c5 100644 --- a/src/lxplib.h +++ b/src/lxplib.h @@ -2,8 +2,8 @@ ** See Copyright Notice in license.html */ -#define LuaExpatCopyright "Copyright (C) 2003-2007 The Kepler Project, 2013-2022 Matthew Wild" -#define LuaExpatVersion "LuaExpat 1.5.1" +#define LuaExpatCopyright "Copyright (C) 2003-2007 The Kepler Project, 2013-2024 Matthew Wild" +#define LuaExpatVersion "LuaExpat 1.5.2" #define ParserType "Expat" #define StartCdataKey "StartCdataSection"