Reformat lua formula.
This commit is contained in:
parent
5275791adc
commit
8685725011
1 changed files with 4 additions and 4 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue