Reformat lua formula.

This commit is contained in:
Adam Vandenberg 2009-11-21 09:06:11 -08:00 committed by Max Howell
parent 5275791adc
commit 8685725011

View file

@ -1,9 +1,9 @@
require 'formula'
class Lua <Formula
@url='http://www.lua.org/ftp/lua-5.1.4.tar.gz'
@homepage='http://www.lua.org/'
@md5='d0870f2de55d59c1c8419f36e8fac150'
url 'http://www.lua.org/ftp/lua-5.1.4.tar.gz'
homepage 'http://www.lua.org/'
md5 'd0870f2de55d59c1c8419f36e8fac150'
def patches
DATA
@ -18,7 +18,7 @@ class Lua <Formula
inreplace 'etc/lua.pc', 'man/man1', 'share/man/man1'
inreplace 'src/luaconf.h', '/usr/local', HOMEBREW_PREFIX
ENV["CFLAGS"] += " -DLUA_USE_LINUX"
ENV.append "CFLAGS", "-DLUA_USE_LINUX"
system "make macosx"
system "make install"