From a9f156399dceff9c55a2f4763d05e2dc6424a3f3 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Tue, 4 Sep 2012 12:03:37 -0700 Subject: lolcode 0.9.3 Closes #14672. --- Library/Formula/lolcode.rb | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3