homebrew-core/Formula/odo.rb

26 lines
687 B
Ruby
Raw Normal View History

class Odo < Formula
desc "Atomic odometer for the command-line"
homepage "https://github.com/atomicobject/odo"
url "https://github.com/atomicobject/odo/archive/v0.2.2.tar.gz"
sha256 "52133a6b92510d27dfe80c7e9f333b90af43d12f7ea0cf00718aee8a85824df5"
2014-12-03 19:08:04 +00:00
bottle do
cellar :any
2014-12-09 03:20:38 +00:00
sha1 "32b8859f631257fe07822f8b1874587b307c2e5e" => :yosemite
sha1 "c144e0e0b62432b4ee22f28297028b3f2e9d7499" => :mavericks
sha1 "545135a2f69e20036ff34dd7b0f44493c8e74c40" => :mountain_lion
2014-12-03 19:08:04 +00:00
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