From 32eac093cc431849a92e5a2297c5fe646fd60556 Mon Sep 17 00:00:00 2001 From: Determinant Date: Mon, 22 Jun 2015 18:56:04 +0800 Subject: make it a luarocks package --- speech-scm-1.rockspec | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 speech-scm-1.rockspec (limited to 'speech-scm-1.rockspec') diff --git a/speech-scm-1.rockspec b/speech-scm-1.rockspec new file mode 100644 index 0000000..bf11cbc --- /dev/null +++ b/speech-scm-1.rockspec @@ -0,0 +1,38 @@ +package = "speech" +version = "scm-1" +source = { + url = "..." -- We don't have one yet +} +description = { + summary = "An example for the LuaRocks tutorial.", + detailed = [[ + ]], + homepage = "https://github.com/Determinant/nerv-speech", -- We don't have one yet + license = "BSD" -- or whatever you like +} +dependencies = { + "nerv >= scm-1", + "lua >= 5.1" + -- If you depend on other rocks, add them here +} +build = { + -- We'll start here. + type = "make", + build_variables = { + CFLAGS="$(CFLAGS)", + LIBFLAG="$(LIBFLAG)", + LUA_LIBDIR="$(LUA_LIBDIR)", + LUA_BINDIR="$(LUA_BINDIR)", + LUA_INCDIR="$(LUA_INCDIR)", + INST_PREFIX="$(PREFIX)", + LUA="$(LUA)", + }, + install_variables = { + LUA_BINDIR="$(LUA_BINDIR)", + INST_PREFIX="$(PREFIX)", + INST_BINDIR="$(BINDIR)", + INST_LIBDIR="$(LIBDIR)", + INST_LUADIR="$(LUADIR)", + INST_CONFDIR="$(CONFDIR)", + }, +} -- cgit v1.2.3-70-g09d2