aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/lua.rb
diff options
context:
space:
mode:
authorSean Wolfe2009-08-31 17:31:54 -0500
committerMax Howell2009-09-01 10:32:34 +0100
commit70518ce8ec667bf068fd3762219f2d07d6735a1f (patch)
tree5748a631d5333fe8e17ebe0664b91853d12fdb38 /Library/Formula/lua.rb
parent8b0bcaddf83cb13b25c87c3f6eb84b0d82f72e15 (diff)
downloadhomebrew-70518ce8ec667bf068fd3762219f2d07d6735a1f.tar.bz2
Lua formula
Lua is a powerful, fast, lightweight, embeddable scripting language.
Diffstat (limited to 'Library/Formula/lua.rb')
-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