aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/lua.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/Library/Formula/lua.rb b/Library/Formula/lua.rb
new file mode 100644
index 000000000..92b2395a3
--- /dev/null
+++ b/Library/Formula/lua.rb
@@ -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