Lua formula
Lua is a powerful, fast, lightweight, embeddable scripting language.
This commit is contained in:
parent
b3161bd96b
commit
3d86eaf9e6
1 changed files with 14 additions and 0 deletions
14
Formula/lua.rb
Normal file
14
Formula/lua.rb
Normal file
|
@ -0,0 +1,14 @@
|
|||
require 'brewkit'
|
||||
|
||||
class Lua <Formula
|
||||
@url='http://www.lua.org/ftp/lua-5.1.4.tar.gz'
|
||||
@homepage=''
|
||||
@md5='d0870f2de55d59c1c8419f36e8fac150'
|
||||
|
||||
def install
|
||||
inreplace 'Makefile', '/usr/local', prefix
|
||||
inreplace 'Makefile', 'man/man1', 'share/man/man1'
|
||||
system "make macosx"
|
||||
system "make install"
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue