diff options
| author | Dominyk Tiller | 2014-09-15 15:38:39 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2014-09-16 14:08:14 +0100 |
| commit | 1fed4927d2fdcee279d8d2c4abb98146b9ada3c7 (patch) | |
| tree | e40c306b659886e78fe49712db223893cbb65f70 /Library/Formula/luarocks.rb | |
| parent | 466e83f7c5c919a91b5ec3bd3e47b1af585f1e86 (diff) | |
| download | homebrew-1fed4927d2fdcee279d8d2c4abb98146b9ada3c7.tar.bz2 | |
lua: upgrade to 5.2.
Merges Lua52 into the Master branch as the new ‘Lua’ whilst
transitioning the old Lua formula to ‘Lua51’, running the two
side-by-side in a non-conflicting way.
Diffstat (limited to 'Library/Formula/luarocks.rb')
| -rw-r--r-- | Library/Formula/luarocks.rb | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Library/Formula/luarocks.rb b/Library/Formula/luarocks.rb index 2d581eeaf..8ac77a7d3 100644 --- a/Library/Formula/luarocks.rb +++ b/Library/Formula/luarocks.rb @@ -2,6 +2,7 @@ require 'formula' class Luarocks < Formula homepage 'http://luarocks.org' + revision 1 stable do url 'http://luarocks.org/releases/luarocks-2.1.2.tar.gz' @@ -18,15 +19,15 @@ class Luarocks < Formula head 'https://github.com/keplerproject/luarocks.git' option 'with-luajit', 'Use LuaJIT instead of the stock Lua' - option 'with-lua52', 'Use Lua 5.2 instead of the stock Lua' + option 'with-lua51', 'Use Lua 5.1 instead of the stock Lua' if build.with? "luajit" depends_on 'luajit' # luajit depends internally on lua being installed # and is only 5.1 compatible, see #25954 - depends_on 'lua' - elsif build.with? "lua52" - depends_on 'lua52' + depends_on 'lua51' + elsif build.with? "lua51" + depends_on 'lua51' else depends_on 'lua' end |
