blob: 06ec21939edd79658296977d203d6d0f53dbf22b (
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.1.0.tar.gz"
sha1 "36cbe1b626612e0bbdf719640801d84b8234d7af"
bottle do
cellar :any
sha1 "0b19e2bc1308ef7bc9640cf8140ce60823933e07" => :yosemite
sha1 "d503b71664f5bb01be9d96d31ee6a7f6f6d4324b" => :mavericks
sha1 "42ec73e761493d9887c41abe5df3fe6de0f3741c" => :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
|