aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2012-09-04 12:03:37 -0700
committerAdam Vandenberg2012-09-04 12:03:37 -0700
commita9f156399dceff9c55a2f4763d05e2dc6424a3f3 (patch)
treeb4aafd0f0220b56447ba97dcebb9541d1b7526ef /Library/Formula
parent8f7a0e7acbaaffbca8c862e8f6eb26c5e235ec75 (diff)
downloadhomebrew-a9f156399dceff9c55a2f4763d05e2dc6424a3f3.tar.bz2
lolcode 0.9.3
Closes #14672.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/lolcode.rb22
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