diff options
| author | hisham <hisham@9ca3f7c1-7366-0410-b1a3-b5c78f85698c> | 2009-10-22 23:14:35 +0000 |
|---|---|---|
| committer | hisham <hisham@9ca3f7c1-7366-0410-b1a3-b5c78f85698c> | 2009-10-22 23:14:35 +0000 |
| commit | a411a647693dbe9561f0825382d0c302a6248bb4 (patch) | |
| tree | c634abc538188a4c95c693aa0f9d7bce3743f4d6 | |
| parent | d6b306114a2fc6af683df38f2a640b5a5d5e93d6 (diff) | |
| download | luarocks-2.0.1.tar.gz luarocks-2.0.1.tar.bz2 luarocks-2.0.1.zip | |
add experimental support for installing LuaRocks as a rockv2.0.1
git-svn-id: http://luarocks.org/svn/luarocks/trunk@109 9ca3f7c1-7366-0410-b1a3-b5c78f85698c
| -rw-r--r-- | rockspec | 35 |
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 @@ | |||
| 1 | package = "LuaRocks" | ||
| 2 | local VER = "2.0.1" | ||
| 3 | local REV = "1" | ||
| 4 | version = VER.."-"..REV | ||
| 5 | |||
| 6 | description = { | ||
| 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 | |||
| 19 | dependencies = { | ||
| 20 | "lua >= 5.1" | ||
| 21 | } | ||
| 22 | |||
| 23 | source = { | ||
| 24 | url = "http://luarocks.org/releases/luarocks-"..VER..".tar.gz", | ||
| 25 | } | ||
| 26 | |||
| 27 | build = { | ||
| 28 | type = "make", | ||
| 29 | install_target = "install_rock", | ||
| 30 | build_pass=false, | ||
| 31 | install_variables = { | ||
| 32 | BINDIR="$(BINDIR)", | ||
| 33 | LUADIR="$(LUADIR)" | ||
| 34 | } | ||
| 35 | } | ||
