aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/odo.rb
blob: c19e563f61044b96d64913bd4166754796a39d26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
require "formula"

class Odo < Formula
  homepage "https://github.com/atomicobject/odo"
  url "https://github.com/atomicobject/odo/archive/v0.2.2.tar.gz"
  sha1 "2024e3afeee76eb9f4f7e798ac986f4ce8b489d6"

  bottle do
    cellar :any
    sha1 "32b8859f631257fe07822f8b1874587b307c2e5e" => :yosemite
    sha1 "c144e0e0b62432b4ee22f28297028b3f2e9d7499" => :mavericks
    sha1 "545135a2f69e20036ff34dd7b0f44493c8e74c40" => :mountain_lion
  end

  def install
    system "make"
    man1.mkpath
    bin.mkpath
    system "make", "test"
    system "make", "install", "PREFIX=#{prefix}"
  end

  test do
    system "odo", "testlog"
  end
end