aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/lolcode.rb
blob: 64825344cf70c0fe9f511a7356904627cea17dc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
require 'formula'

class Lolcode < Formula
  homepage 'http://lolcode.org'
  head 'https://github.com/justinmeza/lolcode.git'
  url 'https://github.com/justinmeza/lci/archive/v0.11.1.tar.gz'
  sha1 '9949a2480a738ac566dbe66142dd351f778fb8b7'

  depends_on 'cmake' => :build

  conflicts_with 'lci', :because => 'both install `lci` binaries'

  def install
    system "cmake ."
    system "make"
    # Don't use `make install` for this one file
    bin.install 'lci'
  end
end