2010-04-04 19:17:49 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Lolcode < Formula
|
2013-09-17 16:33:18 +00:00
|
|
|
homepage 'http://lolcode.org'
|
2013-11-13 04:52:49 +00:00
|
|
|
head 'https://github.com/justinmeza/lolcode.git'
|
2013-03-21 03:27:16 +00:00
|
|
|
url 'https://github.com/justinmeza/lci/archive/v0.11.1.tar.gz'
|
|
|
|
sha1 '9949a2480a738ac566dbe66142dd351f778fb8b7'
|
2010-04-04 19:17:49 +00:00
|
|
|
|
2012-09-04 19:03:37 +00:00
|
|
|
depends_on 'cmake' => :build
|
2010-10-26 21:39:16 +00:00
|
|
|
|
2013-11-13 04:52:49 +00:00
|
|
|
conflicts_with 'lci', :because => 'both install `lci` binaries'
|
|
|
|
|
2012-09-04 19:03:37 +00:00
|
|
|
def install
|
|
|
|
system "cmake ."
|
2010-04-04 19:17:49 +00:00
|
|
|
system "make"
|
2012-09-04 19:03:37 +00:00
|
|
|
# Don't use `make install` for this one file
|
|
|
|
bin.install 'lci'
|
2010-04-04 19:17:49 +00:00
|
|
|
end
|
|
|
|
end
|