aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rockspec35
1 files changed, 35 insertions, 0 deletions
diff --git a/rockspec b/rockspec
new file mode 100644
index 00000000..24d78e4a
--- /dev/null
+++ b/rockspec
@@ -0,0 +1,35 @@
1package = "LuaRocks"
2local VER = "2.0.1"
3local REV = "1"
4version = VER.."-"..REV
5
6description = {
7 summary = "A deployment and management system for Lua modules.",
8 detailed = [[
9 LuaRocks allows you to install Lua modules as self-contained
10 packages called "rocks", which also contain version dependency
11 information. This information is used both during installation,
12 so that when one rock is requested all rocks it depends on are
13 installed as well, and at run time, so that when a module is
14 required, the correct version is loaded. LuaRocks supports both
15 local and remote repositories, and multiple local rocks trees.
16 ]]
17}
18
19dependencies = {
20 "lua >= 5.1"
21}
22
23source = {
24 url = "http://luarocks.org/releases/luarocks-"..VER..".tar.gz",
25}
26
27build = {
28 type = "make",
29 install_target = "install_rock",
30 build_pass=false,
31 install_variables = {
32 BINDIR="$(BINDIR)",
33 LUADIR="$(LUADIR)"
34 }
35}