diff options
| author | Anders Bergh | 2014-12-17 07:48:33 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2014-12-17 10:03:38 +0000 |
| commit | c26a9c0a5a17a90e0aa0617bba2e861905bee41e (patch) | |
| tree | 50e58cfb892bbf0888fa641dc83715766cf804da /Library/Formula | |
| parent | dedcbbf477030b9bff6ce3036a21829dc5736c75 (diff) | |
| download | homebrew-c26a9c0a5a17a90e0aa0617bba2e861905bee41e.tar.bz2 | |
luajit: use development branch for --devel
Closes #35048.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/luajit.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Library/Formula/luajit.rb b/Library/Formula/luajit.rb index 8410c0473..4255bbfc8 100644 --- a/Library/Formula/luajit.rb +++ b/Library/Formula/luajit.rb @@ -7,6 +7,11 @@ class Luajit < Formula head 'http://luajit.org/git/luajit-2.0.git' revision 1 + devel do + version '2.1' + url 'http://luajit.org/git/luajit-2.0.git', :branch => 'v2.1' + end + bottle do sha1 "9a6fc01ed0659ecc07a1e34daecdcf82cd150ca4" => :yosemite sha1 "7ed3346a644ca5cd73c51131c54060b13038208e" => :mavericks @@ -33,6 +38,9 @@ class Luajit < Formula # This doesn't yet work under superenv because it removes '-g' args << 'CCDEBUG=-g' if build.include? 'enable-debug' + # The development branch of LuaJIT normally does not install "luajit". + args << 'INSTALL_TNAME=luajit' if build.devel? + system 'make', 'amalg', *args system 'make', 'install', *args # Having an empty Lua dir in Lib can screw with the new Lua setup. |
