aboutsummaryrefslogtreecommitdiff
path: root/rockspec
diff options
context:
space:
mode:
authorhisham <hisham@9ca3f7c1-7366-0410-b1a3-b5c78f85698c>2009-10-22 23:14:35 +0000
committerhisham <hisham@9ca3f7c1-7366-0410-b1a3-b5c78f85698c>2009-10-22 23:14:35 +0000
commita411a647693dbe9561f0825382d0c302a6248bb4 (patch)
treec634abc538188a4c95c693aa0f9d7bce3743f4d6 /rockspec
parentd6b306114a2fc6af683df38f2a640b5a5d5e93d6 (diff)
downloadluarocks-a411a647693dbe9561f0825382d0c302a6248bb4.tar.gz
luarocks-a411a647693dbe9561f0825382d0c302a6248bb4.tar.bz2
luarocks-a411a647693dbe9561f0825382d0c302a6248bb4.zip
add experimental support for installing LuaRocks as a rock
git-svn-id: http://luarocks.org/svn/luarocks/trunk@109 9ca3f7c1-7366-0410-b1a3-b5c78f85698c
Diffstat (limited to 'rockspec')
-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}