LuaJIT 2.0.0-beta9

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Austin Seipp 2011-12-17 16:12:44 -06:00 committed by Adam Vandenberg
parent 7cdef67cdd
commit 1b0e7fca8e

View file

@ -1,10 +1,10 @@
require 'formula'
class Luajit < Formula
url 'http://luajit.org/download/LuaJIT-2.0.0-beta8.tar.gz'
url 'http://luajit.org/download/LuaJIT-2.0.0-beta9.tar.gz'
head 'http://luajit.org/git/luajit-2.0.git', :using => :git
homepage 'http://luajit.org/luajit.html'
md5 'f0748a73ae268d49b1d01f56c4fe3e61'
md5 'e7e03e67e2550817358bc28b44270c6d'
# Skip cleaning both empty folders and bin/libs so external symbols still work.
skip_clean :all
@ -15,13 +15,6 @@ class Luajit < Formula
[["--debug", "Build with debugging symbols."]]
end
# Apply beta8 hotfix #1
def patches
if not ARGV.build_head?
{ :p1 => "http://luajit.org/download/beta8_hotfix1.patch" }
end
end
def install
if ARGV.include? '--debug'
system "make", "CCDEBUG=-g", "PREFIX=#{prefix}",
@ -41,7 +34,7 @@ class Luajit < Formula
# Non-versioned symlink
if ARGV.build_head?
version = "2.0.0-beta8"
version = "2.0.0-beta9"
else
version = @version
end