diff options
author | Ronan Collobert <ronan@collobert.com> | 2014-02-13 20:13:31 +0400 |
---|---|---|
committer | Ronan Collobert <ronan@collobert.com> | 2014-02-13 20:21:21 +0400 |
commit | 75d83c964f1f0297d8fd23e0ef7a4489040edf21 (patch) | |
tree | 8a133270f3a06b8b8c5ee3684a6548504599d003 | |
parent | 67c496b2f4a7ce6dafb9028739947734a442a5a5 (diff) |
added rockspec
-rw-r--r-- | rocks/gnuplot-scm-1.rockspec | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/rocks/gnuplot-scm-1.rockspec b/rocks/gnuplot-scm-1.rockspec new file mode 100644 index 0000000..786515e --- /dev/null +++ b/rocks/gnuplot-scm-1.rockspec @@ -0,0 +1,44 @@ +package = "gnuplot" +version = "scm-1" + +source = { + url = "git://github.com/torch/gnuplot.git", +} + +description = { + summary = "Torch interface to Gnuplot", + detailed = [[ + ]], + homepage = "https://github.com/torch/gnuplot", + license = "BSD" +} + +dependencies = { + "lua >= 5.1", + "torch >= 7.0", + "paths >= 1.0", +} + +build = { + type = "builtin", + modules = { + ["gnuplot.init"] = "init.lua", + ["gnuplot.gnuplot"] = "gnuplot.lua", + ["gnuplot.hist"] = "hist.lua" + }, + + install = { + lua = { + -- this is ugly (but this is luarocks) + ["gnuplot.doc.README"] = "README.md", + ["gnuplot.doc.plot_filled"] = "doc/plot_filled.png", + ["gnuplot.doc.plot_hist"] = "doc/plot_hist.png", + ["gnuplot.doc.plot_imagesc"] = "doc/plot_imagesc.png", + ["gnuplot.doc.plot_sincos"] = "doc/plot_sincos.png", + ["gnuplot.doc.plot_splot"] = "doc/plot_splot.png", + ["gnuplot.doc.plot_splot2"] = "doc/plot_splot2.png", + ["gnuplot.doc.plot_x"] = "doc/plot_x.png", + ["gnuplot.doc.plot_xyf"] = "doc/plot_xyf.png" + } + } +} |