summaryrefslogtreecommitdiff
path: root/speech-scm-1.rockspec
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2015-06-22 18:56:04 +0800
committerDeterminant <[email protected]>2015-06-22 18:56:04 +0800
commit32eac093cc431849a92e5a2297c5fe646fd60556 (patch)
tree28a7043f7d7138d58916b60de7231b093d93bbde /speech-scm-1.rockspec
parent3910eb670f3c29aba95596bb8c55cbee3368f805 (diff)
make it a luarocks package
Diffstat (limited to 'speech-scm-1.rockspec')
-rw-r--r--speech-scm-1.rockspec38
1 files changed, 38 insertions, 0 deletions
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)",
+ },
+}