diff options
| author | Adam Vandenberg | 2012-09-04 12:03:37 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-09-04 12:03:37 -0700 |
| commit | a9f156399dceff9c55a2f4763d05e2dc6424a3f3 (patch) | |
| tree | b4aafd0f0220b56447ba97dcebb9541d1b7526ef /Library | |
| parent | 8f7a0e7acbaaffbca8c862e8f6eb26c5e235ec75 (diff) | |
| download | homebrew-a9f156399dceff9c55a2f4763d05e2dc6424a3f3.tar.bz2 | |
lolcode 0.9.3
Closes #14672.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/lolcode.rb | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/Library/Formula/lolcode.rb b/Library/Formula/lolcode.rb index 4e347ac79..03ea71836 100644 --- a/Library/Formula/lolcode.rb +++ b/Library/Formula/lolcode.rb @@ -2,25 +2,17 @@ require 'formula' class Lolcode < Formula homepage 'http://www.icanhaslolcode.org/' - url 'https://github.com/justinmeza/lci/tarball/v0.9.2' - md5 'bb757687aabea302351cbbce77e01c26' + url 'https://github.com/justinmeza/lci/tarball/v0.9.3' + sha1 '212c5a4f414063a1b994a9a4446dc8da69577dd4' head 'https://github.com/justinmeza/lolcode.git' - def install - inreplace 'Makefile' do |s| - s.change_make_var! "prefix", prefix - end + depends_on 'cmake' => :build + def install + system "cmake ." system "make" - - # v0.9.2 should use 'make install'. - # Later versions can just copy the 'lolcode' bin. - if build.head? - bin.install 'lolcode' - else - bin.mkpath - system "make install" - end + # Don't use `make install` for this one file + bin.install 'lci' end end |
