require 'formula' class Lolcode < Formula homepage 'http://lolcode.org' url 'https://github.com/justinmeza/lci/archive/v0.11.1.tar.gz' sha1 '9949a2480a738ac566dbe66142dd351f778fb8b7' head 'https://github.com/justinmeza/lolcode.git' depends_on 'cmake' => :build def install system "cmake ." system "make" # Don't use `make install` for this one file bin.install 'lci' end end