From 86904f62c0f55e81dd5cdfef3a39d0ec25d31f02 Mon Sep 17 00:00:00 2001 From: Lorenzo Cogotti Date: Sun, 11 Dec 2022 19:38:35 +0100 Subject: [PATCH] [rockspec] Add LuaRocks rock file. --- osx-scm-1.rockspec | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 osx-scm-1.rockspec diff --git a/osx-scm-1.rockspec b/osx-scm-1.rockspec new file mode 100644 index 0000000..5c665da --- /dev/null +++ b/osx-scm-1.rockspec @@ -0,0 +1,40 @@ +package = "osx" +version = "scm-1" +source = { + url = "git+https://gitea.it/1414codeforge/lua-osx" +} +description = { + summary = "Low level Operating System eXtensions for the Lua Programming Language", + detailed = [[ + lua-osx is a low level Lua module extending the standard os library to + provide additional consistent and portable basic system level facilities + to Lua. + Such as directory traversal, essential file stat functionality and + file manipulation. + Separate headers and API are also provided to interact with system + directories from C in other modules. + ]], + license = "LGPL-3-or-later" +} +dependencies = { + "lua >= 5.1" +} +build = { + type = "make", + build_variables = { + LUA="$(LUA)", + CC="$(CC)", + LD="$(LD)", + CFLAGS="$(CFLAGS)", + LIBFLAG="$(LIBFLAG)", + LUA_INCDIR="$(LUA_INCDIR)", + LUA_LIBDIR="$(LUA_LIBDIR)" + }, + install_variables = { + CP="$(CP)", + RM="$(RM)", + MKDIR="$(MKDIR)", + RMDIR="$(RMDIR)", + LIBDIR="$(LIBDIR)" + } +}