aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2009-11-21 09:06:11 -0800
committerMax Howell2009-12-12 16:24:18 +0000
commit52600c0ef54a846c552a56df58cefb326c8f8beb (patch)
tree02255f42c480f0c6b05df3b7dd5e194bdb9c8730 /Library/Formula
parentb71dd4d9bb859cc8791ab1263db81f2b2a3560ef (diff)
downloadhomebrew-52600c0ef54a846c552a56df58cefb326c8f8beb.tar.bz2
Reformat lua formula.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/lua.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/Formula/lua.rb b/Library/Formula/lua.rb
index 7fa5c6aa2..50ed68be2 100644
--- a/Library/Formula/lua.rb
+++ b/Library/Formula/lua.rb
@@ -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"