diff options
| author | Adam Vandenberg | 2012-02-20 22:04:21 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2012-02-24 21:35:50 -0800 |
| commit | d3f35542992c4978525b1eaaa0255c92f1e830e0 (patch) | |
| tree | 499df60efe14b16e641247313cdd07416af1290a /Library/Formula/metalua.rb | |
| parent | 9c77e1cefce38f2a3001ce398ad0b4dc2f668243 (diff) | |
| download | homebrew-d3f35542992c4978525b1eaaa0255c92f1e830e0.tar.bz2 | |
Use "cd" instead of "Dir.chdir"
* And "mkdir" isntead of "Dir.mkdir"
* And "Dir[]" instead of "Dir.glob"
* Also style fixes and nitpicks
Diffstat (limited to 'Library/Formula/metalua.rb')
| -rw-r--r-- | Library/Formula/metalua.rb | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/Library/Formula/metalua.rb b/Library/Formula/metalua.rb index b631bf4b1..6b8295e59 100644 --- a/Library/Formula/metalua.rb +++ b/Library/Formula/metalua.rb @@ -1,20 +1,22 @@ require 'formula' class Metalua < Formula - head 'https://github.com/fab13n/metalua.git' - url 'https://github.com/fab13n/metalua/tarball/0.5-rc2' homepage 'http://metalua.luaforge.net/' - md5 'c841976b3a2fe9b7322aaca16927c9e2' + url 'https://github.com/fab13n/metalua/tarball/0.5-rc2' version '0.5-rc2' + md5 'c841976b3a2fe9b7322aaca16927c9e2' + + head 'https://github.com/fab13n/metalua.git' depends_on 'lua' def install - Dir.chdir "src" - ENV["INSTALL_BIN"] = bin - ENV["INSTALL_LIB"] = lib + cd "src" do + ENV["INSTALL_BIN"] = bin + ENV["INSTALL_LIB"] = lib - system "./make.sh" - system "./make-install.sh" + system "./make.sh" + system "./make-install.sh" + end end end |
