LuaJIT doesn't depend on Lua

The LuaJIT interpreter doesn't depend on the stock Lua interpreter; it
can be built entirely on its own.  We also install a non-versioned link
to the interpreter, at #{HOMEBREW_PREFIX}/bin/luajit.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
master
Douglas Creager 2011-04-01 08:57:51 -04:00 committed by Adam Vandenberg
parent 6d6bffd557
commit 84d8754d37
1 changed files with 4 additions and 1 deletions

View File

@ -6,9 +6,12 @@ class Luajit < Formula
homepage 'http://luajit.org/luajit.html' homepage 'http://luajit.org/luajit.html'
md5 'bfcbe2a11162cfa84d5a1693b442c8bf' md5 'bfcbe2a11162cfa84d5a1693b442c8bf'
depends_on 'lua' # Skip cleaning both empty folders and bin/libs so external symbols still work.
skip_clean :all
def install def install
system "make", "PREFIX=#{prefix}", "install" system "make", "PREFIX=#{prefix}", "install"
# Non-versioned symlink
ln_s bin+"luajit-#{version}", bin+"luajit"
end end
end end